@FunctionalInterface public interface EventTransportService
|Modifier and Type||Method and Description|
Manages events transmission, deciding when to forward it on the network or/and to route it locally Locally, this function emits the event only on the internal event bus of the listeners.
defrouteEvent(event : Event, space : EventSpace, scope : Scope<? super Address>) : boolean
Locally, this function emits the event only on the internal event bus of the listeners.
Locally, this function launches 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.
trueif the message should be also routed locally by the space instance itself.
falseif the space instance must not route the event.
Copyright © 2021 the original authors or authors.