|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface EventSubscriber<T>
To receive events, you must implement this interface. An "event" is actually any
Java object. Subscribers are only notified if both the channel and event
Matcher objects pass.
EventService.subscribe(Matcher, Matcher, EventSubscriber),
MatcherMaker| Method Summary | |
|---|---|
void |
onEvent(T event)
Invoked if the event passes the channel and event matchers. |
| Method Detail |
|---|
void onEvent(T event)
event - the object being delivered via the "bus".
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||