|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
EventGenerators are able to generate events. Their natural collaborators are EventHandlers that can subscribe to them specifying a constraint to indicate which events interest them.
| Method Summary | |
void |
subscribe(EventHandler handler,
EventConstraint constraint)
Subscribe an EventHandler with an EventConstraint. |
void |
unsubscribe(EventHandler handler)
Unsubscribe an EventHandler. |
| Method Detail |
public void subscribe(EventHandler handler,
EventConstraint constraint)
throws DataManagerException
handler - The EventHandler that will observe the events.constraint - The constraint that identifies the events of interest
to the EventHandler.
DataManagerException
public void unsubscribe(EventHandler handler)
throws DataManagerException
handler - The EventHandler to unsubscribe.
DataManagerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||