|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventTopicSubscriber<T>
Callback interface for topic-based subscribers of an EventService
.
Method Summary | |
---|---|
void |
onEvent(String topic,
T data)
Handle an event published on a topic. |
Method Detail |
---|
void onEvent(String topic, T data)
EventService.subscribe(String,
EventTopicSubscriber)
EventService.subscribe(java.util.regex.Pattern,EventTopicSubscriber)
EventService.subscribeStrongly(String,EventTopicSubscriber)
and EventService.subscribeStrongly(java.util.regex.Pattern,
EventTopicSubscriber)
.
topic
- the name of the topic published ondata
- the data object published on the topic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |