Interface ISocket<I extends SelectableChannel & ReadableByteChannel,​O extends SelectableChannel & WritableByteChannel>

    • Method Detail

      • isConnected

        boolean isConnected()
        Returns:
        true if the connection is successfully established. Otherwise false.
      • getReadableChannel

        I getReadableChannel()
      • getWritableChannel

        O getWritableChannel()
      • isClosed

        boolean isClosed()
        Checks if the connection has been closed
        Returns:
        true if the connection is closing/closed
      • isInputShutdown

        @Deprecated
        boolean isInputShutdown()
        Deprecated.
        Checks if there will be no more data incoming
        Returns:
        true if EOF has been found
      • isOutputShutdown

        @Deprecated
        boolean isOutputShutdown()
        Deprecated.
        Checks if no more data can be send on this socket
        Returns:
        true if EOF has been send