com.tivoli.twg.engine
Interface TWGEventListener


public interface TWGEventListener

Event listener interface.

NOTE: For all of the methods in this interface, it is important to return as quickly as possible. Any complicated prosessing should be queued to another thread.


Method Summary
 void receiveEvent(com.tivoli.twg.alertmgr.TWGEventEvent event)
          Method to receive an event.
 void receivePublish(TWGPublish publish)
          Method to receive a publish event.
 void receivePublishList(java.util.Vector publishList)
          Method to receive a list of existing publications.
 void receiveUnpublish(TWGUnpublish unpublish)
          Method to receive an unpublish event.
 

Method Detail

receiveEvent

public void receiveEvent(com.tivoli.twg.alertmgr.TWGEventEvent event)
Method to receive an event.

Parameters:
event - event to process.

receivePublishList

public void receivePublishList(java.util.Vector publishList)
Method to receive a list of existing publications. This method is called when a listener is added.

Parameters:
publishList - vector of publish objects to process.

receivePublish

public void receivePublish(TWGPublish publish)
Method to receive a publish event.

Parameters:
publish - publish object to process.

receiveUnpublish

public void receiveUnpublish(TWGUnpublish unpublish)
Method to receive an unpublish event.

Parameters:
unpublish - unpublish object to process.