DuplexChannelConfig Type — netty Architecture
Architecture documentation for the DuplexChannelConfig type/interface in DuplexChannelConfig.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8bb7a4a5_f3be_18b7_bafe_5a77b924eba8["DuplexChannelConfig"] 38ec8efc_e779_4474_bd7a_9a0ce19dd8ca["DuplexChannelConfig.java"] 8bb7a4a5_f3be_18b7_bafe_5a77b924eba8 -->|defined in| 38ec8efc_e779_4474_bd7a_9a0ce19dd8ca style 8bb7a4a5_f3be_18b7_bafe_5a77b924eba8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/socket/DuplexChannelConfig.java lines 41–84
public interface DuplexChannelConfig extends ChannelConfig {
/**
* Returns {@code true} if and only if the channel should not close itself when its remote
* peer shuts down output to make the connection half-closed. If {@code false}, the connection
* is closed automatically when the remote peer shuts down output.
*/
boolean isAllowHalfClosure();
/**
* Sets whether the channel should not close itself when its remote peer shuts down output to
* make the connection half-closed. If {@code true} the connection is not closed when the
* remote peer shuts down output. Instead,
* {@link ChannelInboundHandler#userEventTriggered(ChannelHandlerContext, Object)}
* is invoked with a {@link ChannelInputShutdownEvent} object. If {@code false}, the connection
* is closed automatically.
*/
DuplexChannelConfig setAllowHalfClosure(boolean allowHalfClosure);
@Override
@Deprecated
DuplexChannelConfig setMaxMessagesPerRead(int maxMessagesPerRead);
@Override
DuplexChannelConfig setWriteSpinCount(int writeSpinCount);
@Override
DuplexChannelConfig setAllocator(ByteBufAllocator allocator);
@Override
DuplexChannelConfig setRecvByteBufAllocator(RecvByteBufAllocator allocator);
@Override
DuplexChannelConfig setAutoRead(boolean autoRead);
@Override
DuplexChannelConfig setAutoClose(boolean autoClose);
@Override
DuplexChannelConfig setMessageSizeEstimator(MessageSizeEstimator estimator);
@Override
DuplexChannelConfig setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark);
}
Source
Frequently Asked Questions
What is the DuplexChannelConfig type?
DuplexChannelConfig is a type/interface in the netty codebase, defined in transport/src/main/java/io/netty/channel/socket/DuplexChannelConfig.java.
Where is DuplexChannelConfig defined?
DuplexChannelConfig is defined in transport/src/main/java/io/netty/channel/socket/DuplexChannelConfig.java at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free