public interface EventBusTerminal
Modifier and Type | Method and Description |
---|---|
void |
onClusterCreated(Cluster cluster)
Invoked when an Event Listener has been assigned to a cluster that was not yet known to the Event Bus.
|
void |
publish(EventMessage... events)
Publishes the given
events to all clusters on the Event Bus. |
void publish(EventMessage... events)
events
to all clusters on the Event Bus. The terminal is responsible for the
delivery process, albeit local or remote.events
- the collections of events to publishvoid onClusterCreated(Cluster cluster)
cluster
- the newly created clusterCopyright © 2010-2014. All Rights Reserved.