Package com.iizix.nio

Interface ISocketComm

    • Method Detail

      • process

        void process​(java.nio.ByteBuffer buf)
        Called for the selection key associated with the ISocketComm implementor (normally SocketComm and ServerSocketComm) to process data.
      • close

        boolean close​(boolean rightNow)
        Called when the socket should be closed.
        rightNow - If true, the (server) socket channel is closed immediately, otherwise (SocketChannel), the socket may flush all output before closing.
        true if closed, false if already closed.