public interface IEventSource
Modifier and Type | Method and Description |
---|---|
<T> void |
send(IEventSink sink,
Broadcast broadcast,
T payload)
Sends an event
|
<T> void send(IEventSink sink, Broadcast broadcast, T payload)
T
- type of payloadsink
- object that will receive the eventbroadcast
- if the object that receives the event needs to broadcast it to others, this is the
type of broadcast that should be usedpayload
- event payloadCopyright © 2006–2016 Apache Software Foundation. All rights reserved.