Interface EventSupplier


  • public interface EventSupplier
    An EventSupplier represents the resources created by the Engine to service a connection to an external sink of events. It filters the event output of the Engine by delivering only the events emitted on a particular set of channels. An EventSupplier passes events to an EventConsumer.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void disconnect()
      Disconnect the EventSupplier from its consumer and release its resources.
      void disconnect​(boolean validConnection)
      Disconnect the EventSupplier from its consumer and release its resources.
    • Method Detail

      • disconnect

        void disconnect()
                 throws EngineException
        Disconnect the EventSupplier from its consumer and release its resources. This method must always be implemented by simply calling disconnect(true).
        Throws:
        EngineException
      • disconnect

        void disconnect​(boolean validConnection)
                 throws EngineException
        Disconnect the EventSupplier from its consumer and release its resources. If the validConnection parameter is false, the implementation may choose not to make any remote calls but simply clean up local resources.
        Parameters:
        validConnection - flag that indicates if a valid connection to a correlator exists.
        Throws:
        EngineException