SocketManagerImpl (3.14.0 600 API)
Date: 2025-11-24

com.marketfactory.zerogc.api

## Class SocketManagerImpl

- java.lang.Object
- - com.marketfactory.zerogc.api.SocketManagerImpl

- All Implemented Interfaces:
    SocketManager

      public class SocketManagerImpl
      extends java.lang.Object
      implements SocketManager

  Responsible for the lower level IO functions. So sockets, channel and buffers.

- - ### Field Summary

    - ### Fields inherited from interface com.marketfactory.zerogc.api.SocketManager

      `START_OF_READ_CYCLE_LOAD_BUFFER`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### connect

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

      Specified by:
        `connect` in interface `SocketManager`
      Throws:
        `java.io.IOException`

    - #### disconnect

          public void disconnect()
                          throws java.io.IOException

      Specified by:
        `disconnect` in interface `SocketManager`
      Throws:
        `java.io.IOException`

    - #### send

          public void send(IMessage message)
                    throws MFException

      Specified by:
        `send` in interface `SocketManager`
      Throws:
        `MFException`

    - #### readNextMessage

          public IMessage readNextMessage(int messagesRead)
                                   throws MFException

      Specified by:
        `readNextMessage` in interface `SocketManager`
      Throws:
        `MFException`