Interface IEventGate

  • All Known Implementing Classes:
    EventGate

    public interface IEventGate
    An event gate that can be externally activated or deactivated and allows to register managed event listeners.
    • Method Detail

      • addEventListener

        void addEventListener​(IGateManagedListener eventListener)
        Adds a managed event listener to the manager.
        Parameters:
        eventListener - the managed event listener to add
      • removeEventListener

        void removeEventListener​(IGateManagedListener eventListener)
        Removes a managed event listener from the manager.
        Parameters:
        eventListener - the managed event listener to remove
      • onIncomingEvent

        void onIncomingEvent()
        Notifies the gate that one of its managed listeners has received an incoming event.
      • dispose

        void dispose()
        Disposes the gate.
      • activate

        void activate()
        Activates the gate.
      • deactivate

        void deactivate()
        Deactivates the gate.