public interface DuplexChannel extends Channel
Channel that has two sides that can be shutdown independently.Channel.Unsafe| Modifier and Type | Method and Description |
|---|---|
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. |
boolean |
isOutputShutdown() |
ChannelFuture |
shutdownOutput() |
ChannelFuture |
shutdownOutput(ChannelPromise promise) |
alloc, bind, bind, close, close, closeFuture, config, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, isActive, isOpen, isRegistered, isWritable, localAddress, metadata, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, remoteAddress, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlushattrboolean isInputShutdown()
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().boolean isOutputShutdown()
Socket.isOutputShutdown()ChannelFuture shutdownOutput()
Socket.shutdownOutput()ChannelFuture shutdownOutput(ChannelPromise promise)
Will notify the given {@link ChannelPromise}Copyright © 2008–2018 The Netty Project. All rights reserved.