|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPushHandler
This interface allows the developer to abstract event generation from the concrete PushEventGenerator object. It is the responsiblity of the PushEventGenerator to call 'initialize' and 'cleanUp'.
Method Summary | |
---|---|
void |
addPushListener(IPushListener listener)
adds a push listener to the implementation object |
void |
cleanUp()
clean up |
void |
initialize(EventMetaData metaData)
This method can be called by the pushevent generator, the implementation object can use this method |
void |
removePushListener(IPushListener listener)
removes a push listener from the implementation object |
Method Detail |
---|
void addPushListener(IPushListener listener)
listener
- listener to be addedvoid removePushListener(IPushListener listener)
listener
- listener to be removedvoid initialize(EventMetaData metaData) throws Exception
metaData
- wrapper for data passed
Exception
void cleanUp() throws Exception
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |