Interface DuplexChannel

    • Method Detail

      • isInputShutdown

        boolean isInputShutdown()
        Returns true if and only if the remote peer shut down its output so that no more data is received from this channel. Note that the semantic of this method is different from that of Socket.shutdownInput() and Socket.isInputShutdown().
      • shutdownInput

        ChannelFuture shutdownInput()
        See Also:
        Socket.shutdownInput()
      • isOutputShutdown

        boolean isOutputShutdown()
        See Also:
        Socket.isOutputShutdown()
      • shutdownOutput

        ChannelFuture shutdownOutput()
        See Also:
        Socket.shutdownOutput()
      • isShutdown

        boolean isShutdown()
        Determine if both the input and output of this channel have been shutdown.
      • shutdown

        ChannelFuture shutdown()
        Will shutdown the input and output sides of this channel.
        Returns:
        will be completed when both shutdown operations complete.
      • shutdown

        ChannelFuture shutdown​(ChannelPromise promise)
        Will shutdown the input and output sides of this channel.
        Parameters:
        promise - will be completed when both shutdown operations complete.
        Returns:
        will be completed when both shutdown operations complete.