Class ProcessVariableEventDispatcher

    • Constructor Detail

      • ProcessVariableEventDispatcher

        public ProcessVariableEventDispatcher​(ProcessVariable processVariable)
        Constructor.
        Parameters:
        processVariable - PV to dispatch for, can be null.
    • Method Detail

      • getProcessVariable

        public ProcessVariable getProcessVariable()
        Get served PV.
        Returns:
        the processVariable
      • setProcessVariable

        public void setProcessVariable​(ProcessVariable processVariable)
        Set served PV (allow PV to be set later to avoid chicken-egg problem).
        Parameters:
        processVariable - the processVariable to set
      • registerEventListener

        public void registerEventListener​(ProcessVariableEventCallback listener)
        Register new listener.
        Parameters:
        listener -
      • unregisterEventListener

        public void unregisterEventListener​(ProcessVariableEventCallback listener)
        Unregister new listener.
        Parameters:
        listener -
      • canceled

        public void canceled()
        See Also:
        CompletionCallback.canceled()