Introduction
Messenger Service application is responsible for generating automated messages to pre-established email recipients. This application handles email being sent from the Sales Host and pod booking emails. Also, Messenger Service creates an alert system that works in conjunction with the Kiosk module and Cash Management functionality. This service also monitors conditions such as duplicates and SQL errors of Kiosk, Cash Management and basic Sales functionality.
The Messenger Service application allows for the following notifications to be sent to designated email recipients i.e., technical support or management staff:
1. Kiosk notifications
• Bill collector malfunctions
• Issues with Printer
• Customer Needs (Call For Help button)
• Maintenance notifications
• Emails that kiosks have been serviced
2. Cash Management notifications
3. Cash threshold is met
4. Drawer skim occurs
5. Duplicates and SQL errors
The service consists of four parts implemented as classes MsgService, MessageDB, MsgProcessor and the SvcMonitor. There is also MsgHandler derived classes to handle sending emails/sms/etc., owned by the MsgProcessor class, as well as a message class and two queues of messages used by the components.
• MsgService is the program that instantiates the other main components and queues and connects the MessageDB and MsgProcessor to the queues.
• MessageDB connects to the database using stored procedures
• MsgProcessor sends message using a MsgHandler derived class.
• SvcMonitor sends HTML formatted status info to the Service Monitor app and can receive commands from the user.