Class IpocsClientHandler

  • All Implemented Interfaces:
    java.nio.channels.CompletionHandler<java.lang.Integer,​java.nio.ByteBuffer>

    public class IpocsClientHandler
    extends java.lang.Object
    implements java.nio.channels.CompletionHandler<java.lang.Integer,​java.nio.ByteBuffer>
    Since:
    4.21.2
    • Constructor Detail

      • IpocsClientHandler

        public IpocsClientHandler​(java.nio.channels.AsynchronousSocketChannel client)
    • Method Detail

      • getUnitId

        public java.lang.String getUnitId()
      • completed

        public void completed​(java.lang.Integer bytesRead,
                              java.nio.ByteBuffer recvBuffer)
        Specified by:
        completed in interface java.nio.channels.CompletionHandler<java.lang.Integer,​java.nio.ByteBuffer>
      • failed

        public void failed​(java.lang.Throwable exc,
                           java.nio.ByteBuffer attachment)
        Specified by:
        failed in interface java.nio.channels.CompletionHandler<java.lang.Integer,​java.nio.ByteBuffer>