|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VetoTopicEventListener<T>
Interface for classes that can veto publication on topic names from the EventService
.
Method Summary | |
---|---|
boolean |
shouldVeto(String topic,
T data)
Determine whether a topic publication should be vetoed or allowed. |
Method Detail |
---|
boolean shouldVeto(String topic, T data)
Prerequisite: VetoTopicEventListener has to be subscribed with the EventService for the topic name.
Guaranteed to be
called in the SwingEventThread when using the SwingEventService (EventBus). See EventService
topic
- The topic name the data object is published on.data
- The data object being published on the topic.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |