Interface SeeqWsConnection

All Superinterfaces:
com.seeq.link.sdk.interfaces.Connection
All Known Subinterfaces:
SeeqWsConnectionPool
All Known Implementing Classes:
DefaultSeeqWsConnection, DefaultSeeqWsConnectionPool

public interface SeeqWsConnection extends com.seeq.link.sdk.interfaces.Connection
The interface used for basic communication with the Seeq server across a Websocket.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Event args to communicate the reception of messages from the Seeq Application Server

    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
  • Method Summary

    Modifier and Type
    Method
    Description
    com.seeq.link.sdk.utilities.Event<SeeqWsConnection.MessageReceivedEventArgs>
    Event to handle the reception of messages from the Seeq Application Server.
    boolean
    sendMessage(byte[] message)
    Sends a set of bytes to the Seeq server.

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

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

    • sendMessage

      boolean sendMessage(byte[] message)
      Sends a set of bytes to the Seeq server.
      Parameters:
      message - The set of bytes to be sent
      Returns:
      True if message was sent successfully
    • getMessageReceivedEvent

      com.seeq.link.sdk.utilities.Event<SeeqWsConnection.MessageReceivedEventArgs> getMessageReceivedEvent()
      Event to handle the reception of messages from the Seeq Application Server.
      Returns:
      the agent message received event