SocketManager (3.14.0 400 API)
Date: 2018-11-22

com.marketfactory.zerogc.api

## Interface SocketManager

- All Known Implementing Classes:
    SocketManagerImpl

      public interface SocketManager

  Interface to component that sends and receives messages from a Whisperer

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `START_OF_READ_CYCLE_LOAD_BUFFER`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `connect(MFString host, int port)`
    `void` | `disconnect()`
    `IMessage` | `readNextMessage(int messagesRead)`
    `void` | `send(IMessage message)`

- - ### Field Detail

    - #### START_OF_READ_CYCLE_LOAD_BUFFER

          static final int START_OF_READ_CYCLE_LOAD_BUFFER

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### connect

          void connect(MFString host,
                       int port)
                throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### disconnect

          void disconnect()
                   throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### send

          void send(IMessage message)
             throws MFException

      Throws:
        `MFException`

    - #### readNextMessage

          IMessage readNextMessage(int messagesRead)
                            throws MFException

      Throws:
        `MFException`