Interface OperatorEventDispatcher
- All Known Implementing Classes:
OperatorEventDispatcherImpl
public interface OperatorEventDispatcher
The dispatcher through which Operators receive
OperatorEvents and through which they can
send OperatorEvents back to the OperatorCoordinator.-
Method Summary
Modifier and TypeMethodDescriptiongetOperatorEventGateway(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 Details
-
registerEventHandler
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
Gets the gateway through which events can be passed to the OperatorCoordinator for the operator identified by the given OperatorID.
-