com.tivoli.twg.monitor
Interface TWGMonThresholdEventSink


public interface TWGMonThresholdEventSink

This is the TWGMonThresholdEventSink. An instance of a class implementing this interface is passed to the monitor subsystems when it is instantiated. the method provided by this interface is used to return threshold events from the subsystem to the event sink.


Method Summary
 boolean isInitialized()
          Returns indication of whether the object that provides this interface is ready for work
 int reportThresholdEvent(TWGMonThresholdEvent newEvent)
          This is the call used by the subsystem to return events to the server
 

Method Detail

reportThresholdEvent

public int reportThresholdEvent(TWGMonThresholdEvent newEvent)
This is the call used by the subsystem to return events to the server

Parameters:
newEvent - the freshly generated event from the subsystem
Returns:
int indicating whether the command worked

isInitialized

public boolean isInitialized()
Returns indication of whether the object that provides this interface is ready for work

Returns:
boolean set to indicate the interface defining object is ready to process requests