Class OChannelBinarySynchClient


public class OChannelBinarySynchClient extends OChannelBinary
Synchronous implementation of binary channel.
  • Field Details

    • socketTimeout

      protected final int socketTimeout
    • srvProtocolVersion

      protected final short srvProtocolVersion
  • Constructor Details

  • Method Details

    • clearInput

      public void clearInput() throws IOException
      Overrides:
      clearInput in class OChannelBinary
      Throws:
      IOException
    • isConnected

      public boolean isConnected()
      Tells if the channel is connected.
      Returns:
      true if it's connected, otherwise false.
    • getSrvProtocolVersion

      public short getSrvProtocolVersion()
      Gets the major supported protocol version
    • tryLock

      public boolean tryLock()
    • unlock

      public void unlock()
    • setReadResponseTimeout

      protected void setReadResponseTimeout() throws SocketException
      Throws:
      SocketException