Interface OperatorEventDispatcher
-
- All Known Implementing Classes:
OperatorEventDispatcherImpl
public interface OperatorEventDispatcherThe dispatcher through which Operators receiveOperatorEvents and through which they can send OperatorEvents back to theOperatorCoordinator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperatorEventGatewaygetOperatorEventGateway(OperatorID operatorId)Gets the gateway through which events can be passed to the OperatorCoordinator for the operator identified by the given OperatorID.voidregisterEventHandler(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.
-
-