Class InternalConnectChannel

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, ModalCloseable

    final class InternalConnectChannel
    extends InternalChannel
    • Field Detail

      • key

        private final java.nio.channels.SelectionKey key
      • socketChannel

        private final java.nio.channels.SocketChannel socketChannel
      • creationTimeMillis

        private final long creationTimeMillis
    • Method Detail

      • onIOEvent

        void onIOEvent​(int readyOps)
                throws java.io.IOException
        Specified by:
        onIOEvent in class InternalChannel
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close​(CloseMode closeMode)
        Description copied from interface: ModalCloseable
        Closes this process or endpoint and releases any system resources associated with it. If the endpoint or the process is already closed then invoking this method has no effect.
        Parameters:
        closeMode - How to close the receiver.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object