@FunctionalInterface public interface EventTransportService
Modifier and Type | Method and Description |
---|---|
boolean |
routeEvent(event : Event,
space : EventSpace,
scope : Scope<? super Address>)
Route the given event into
This function emits the event only on the internal event bus of the listeners.
|
def
routeEvent(event : Event,
space : EventSpace,
scope : Scope<? super Address>) : boolean
EventTransportService
This function emits the event only on the internal event bus of the listeners.
This function launch a task for each matching listener.
event
- the event to emit.^space
- the local space in which the event should be routed.scope
- description of the scope of the event, i.e. the receivers of the event.true
if the message should be also routed locally by the space instance itself.
false
if the space instance must not route the event.Copyright © 2020 the original authors or authors.