Interface EventHandlingConnector

  • All Known Subinterfaces:
    Connector<O,​I,​CO,​CI>
    All Known Implementing Classes:
    AbstractChannelConnector, AbstractConnector

    public interface EventHandlingConnector
    Basic connector interface providing access to event-relevant functionality.
    Author:
    Holger Eichelberger, SSE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void enablePolling​(boolean enablePolling)
      Enable/disable polling (does not influence the polling timer).
      java.lang.String getName()
      Returns a descriptive name of the connector/the connected protocol.
      void trigger()
      Trigger the ingestion of a next data item.
      void trigger​(ConnectorTriggerQuery query)
      Trigger the ingestion of a next data item.
    • Method Detail

      • getName

        java.lang.String getName()
        Returns a descriptive name of the connector/the connected protocol.
        Returns:
        a descriptive name of the connected protocol
      • enablePolling

        void enablePolling​(boolean enablePolling)
        Enable/disable polling (does not influence the polling timer).
        Parameters:
        enablePolling - whether polling shall enabled
        See Also:
        AbstractConnector.enableNotifications(boolean)
      • trigger

        void trigger()
        Trigger the ingestion of a next data item.
      • trigger

        void trigger​(ConnectorTriggerQuery query)
        Trigger the ingestion of a next data item.
        Parameters:
        query - specification what to ingest; capabilities depend on connector