public class EmailMonitor extends CMonitorBase
| Constructor and Description |
|---|
EmailMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
Initialize(java.lang.String sFileName)
Initialize using the parameter from the config file.
|
void |
LogError(java.lang.String message)
Log an error
|
void |
LogError(java.lang.String message,
java.lang.Throwable e)
Log an error from a Throwable
Changed to Throwable (from Exception) and overload with Error was removed in build 606
|
void |
Shutdown()
Cleanup any resources you allocated during construction
or operation.
|
CategoryDefinitionsLoaded, LoggingLevelFromString, LoggingLevelNameFromValue, LogSystem, LogTrace, LogTrace, LogWarning, LogWarning, MailboxEmpty, MailboxInitializationBegun, MailboxInitializationFinished, MailboxShutdownBegun, MailboxShutdownFinished, MessageCategorized, MessageCategorized, MessageCount, MessageFetched, MessageProcessed, MessageProcessed, MessageProcessed, MessageSkipped, MessageSkipped, SkippedRemovedMessage, ThreadKilled, ThreadKilledpublic void Shutdown()
IConfigurableItemShutdown in interface IConfigurableItemShutdown in class CMonitorBasepublic void Initialize(java.lang.String sFileName)
throws ResponseMasterException
IConfigurableItemInitialize in interface IConfigurableItemInitialize in class CMonitorBasesFileName - The parameter from the config file, Frequently, the parameter will be a file name.ResponseMasterException - for invalid parameters (and potentially other issues).public void LogError(java.lang.String message,
java.lang.Throwable e)
IMonitorLogError in interface IMonitorLogError in class CMonitorBasemessage - The message to loge - The Throwable to logpublic void LogError(java.lang.String message)
IMonitorLogError in interface IMonitorLogError in class CMonitorBasemessage - The message to log