com.extrememessaging.ResponseMaster.monitor
Class EmailMonitor

java.lang.Object
  extended by com.extrememessaging.ResponseMaster.monitor.CMonitorBase
      extended by com.extrememessaging.ResponseMaster.monitor.EmailMonitor
All Implemented Interfaces:
IConfigurableItem, IMonitor

public class EmailMonitor
extends CMonitorBase


Constructor Summary
EmailMonitor()
           
 
Method Summary
 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.
 
Methods inherited from class com.extrememessaging.ResponseMaster.monitor.CMonitorBase
CategoryDefinitionsLoaded, LoggingLevelFromString, LoggingLevelNameFromValue, LogSystem, LogTrace, LogTrace, LogWarning, LogWarning, MailboxEmpty, MailboxInitializationBegun, MailboxInitializationFinished, MailboxShutdownBegun, MailboxShutdownFinished, MessageCategorized, MessageProcessed, MessageSkipped, ThreadKilled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailMonitor

public EmailMonitor()
Method Detail

Shutdown

public void Shutdown()
Description copied from interface: IConfigurableItem
Cleanup any resources you allocated during construction or operation. After this is called, nothing else will be called, unless Initialize is called again. Note: Shutdown may be called more than once on the same object New in build 595.

Specified by:
Shutdown in interface IConfigurableItem
Overrides:
Shutdown in class CMonitorBase

Initialize

public void Initialize(java.lang.String sFileName)
                throws ResponseMasterException
Description copied from interface: IConfigurableItem
Initialize using the parameter from the config file. Frequently, the parameter will be a file name

Specified by:
Initialize in interface IConfigurableItem
Overrides:
Initialize in class CMonitorBase
Throws:
ResponseMasterException

LogError

public void LogError(java.lang.String message,
                     java.lang.Throwable e)
Description copied from interface: IMonitor
Log an error from a Throwable Changed to Throwable (from Exception) and overload with Error was removed in build 606

Specified by:
LogError in interface IMonitor
Overrides:
LogError in class CMonitorBase
Parameters:
message - The message to log
e - The Throwable to log

LogError

public void LogError(java.lang.String message)
Description copied from interface: IMonitor
Log an error

Specified by:
LogError in interface IMonitor
Overrides:
LogError in class CMonitorBase
Parameters:
message - The message to log