Interface SeeqWsConnectionPool

All Superinterfaces:
com.seeq.link.sdk.interfaces.Connection, SeeqWsConnection
All Known Implementing Classes:
DefaultSeeqWsConnectionPool

public interface SeeqWsConnectionPool extends SeeqWsConnection
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.seeq.link.sdk.interfaces.Connection

    com.seeq.link.sdk.interfaces.Connection.ConnectionState, com.seeq.link.sdk.interfaces.Connection.StateChangedEventArgs

    Nested classes/interfaces inherited from interface com.seeq.link.agent.interfaces.SeeqWsConnection

    SeeqWsConnection.MessageReceivedEventArgs
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onWebSocketChangeState(com.seeq.link.sdk.interfaces.Connection.ConnectionState newState)
    Handler called when a connection in the pool changed its state.
    void
    Handler called when a connection received a message

    Methods inherited from interface com.seeq.link.sdk.interfaces.Connection

    destroy, disable, enable, getConnectionMessage, getMaxReconnectDelay, getMinReconnectDelay, getMonitorPeriod, getState, getStateChangedEvent, initialize, setMaxReconnectDelay, setMinReconnectDelay, setMonitorPeriod

    Methods inherited from interface com.seeq.link.agent.interfaces.SeeqWsConnection

    getMessageReceivedEvent, sendMessage
  • Method Details

    • onWebSocketChangeState

      void onWebSocketChangeState(com.seeq.link.sdk.interfaces.Connection.ConnectionState newState)
      Handler called when a connection in the pool changed its state.
      Parameters:
      newState - - new state of the connection
    • onWebsocketMessageReceived

      void onWebsocketMessageReceived(Object sender, SeeqWsConnection.MessageReceivedEventArgs messageReceivedEventArgs)
      Handler called when a connection received a message
      Parameters:
      sender - The sender of the event
      messageReceivedEventArgs - The message received