Class StmpNotifications
java.lang.Object
com.tremolosecurity.notifications.StmpNotifications
- All Implemented Interfaces:
NotificationSystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the notification systemvoidsendMessage(SmtpMessage msg) Sends a message using this systemvoidshutdown()Called on shutdown of the system
-
Constructor Details
-
StmpNotifications
public StmpNotifications()
-
-
Method Details
-
init
Description copied from interface:NotificationSystemInitializes the notification system- Specified by:
initin interfaceNotificationSystem- Parameters:
name- Name of the notificationconfig- notification configuration- Throws:
Exception
-
shutdown
Description copied from interface:NotificationSystemCalled on shutdown of the system- Specified by:
shutdownin interfaceNotificationSystem- Throws:
Exception
-
sendMessage
Description copied from interface:NotificationSystemSends a message using this system- Specified by:
sendMessagein interfaceNotificationSystem- Parameters:
msg-- Throws:
Exception
-