Interface OperatorEventDispatcher
-
- All Known Implementing Classes:
OperatorEventDispatcherImpl
public interface OperatorEventDispatcher
The dispatcher through which Operators receiveOperatorEvent
s and through which they can send OperatorEvents back to theOperatorCoordinator
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperatorEventGateway
getOperatorEventGateway(OperatorID operatorId)
Gets the gateway through which events can be passed to the OperatorCoordinator for the operator identified by the given OperatorID.void
registerEventHandler(OperatorID operator, OperatorEventHandler handler)
Register a listener that is notified every time an OperatorEvent is sent from the OperatorCoordinator (of the operator with the given OperatorID) to this subtask.
-
-
-
Method Detail
-
registerEventHandler
void registerEventHandler(OperatorID operator, OperatorEventHandler handler)
Register a listener that is notified every time an OperatorEvent is sent from the OperatorCoordinator (of the operator with the given OperatorID) to this subtask.
-
getOperatorEventGateway
OperatorEventGateway getOperatorEventGateway(OperatorID operatorId)
Gets the gateway through which events can be passed to the OperatorCoordinator for the operator identified by the given OperatorID.
-
-