com.prozima.pengine
Interface EventListener


public interface EventListener

Listens for notification events from the PEngine. Events inform any listeners about incidences such as scheduling errors, command execution errors, updates to schedules etc. Listeners must implement this interface and register with PEngine.

See Also:
EventSender.addListener(EventListener), EventSender.addListener(com.prozima.pengine.EventInterface.ID, EventListener), EventSender.removeListener(EventListener), EventSender.removeListener(com.prozima.pengine.EventInterface.ID, EventListener)

Method Summary
 void reactEvent(EventInterface inEvent)
          Receive a new event and react accordingly.
 

Method Detail

reactEvent

void reactEvent(EventInterface inEvent)
Receive a new event and react accordingly.

Parameters:
inEvent - Event which should be responded to by listener as required. null should never be passed as value.