public interface VetoTopicEventListener<T>
EventService
.Modifier and Type | Method and Description |
---|---|
boolean |
shouldVeto(String topic,
T data)
Determine whether a topic publication should be vetoed or allowed.
|
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.Copyright © 2013 Bushe Enterprises, Inc.. All Rights Reserved.