setOption() — netty Function Reference
Architecture documentation for the setOption() function in DefaultSctpServerChannelConfig.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f9d6be71_9738_9cc8_2e3d_55cf94d939ac["setOption()"] 40456af4_21bf_9024_a843_04200d414127["DefaultSctpServerChannelConfig"] f9d6be71_9738_9cc8_2e3d_55cf94d939ac -->|defined in| 40456af4_21bf_9024_a843_04200d414127 8db450ac_2da0_d83e_1458_9dcdd3c0fe45["SctpServerChannelConfig()"] 8db450ac_2da0_d83e_1458_9dcdd3c0fe45 -->|calls| f9d6be71_9738_9cc8_2e3d_55cf94d939ac style f9d6be71_9738_9cc8_2e3d_55cf94d939ac fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpServerChannelConfig.java lines 79–96
@Override
public <T> boolean setOption(ChannelOption<T> option, T value) {
validate(option, value);
if (option == ChannelOption.SO_RCVBUF) {
setReceiveBufferSize((Integer) value);
} else if (option == ChannelOption.SO_SNDBUF) {
setSendBufferSize((Integer) value);
} else if (option == ChannelOption.SO_BACKLOG) {
setSendBufferSize((Integer) value);
} else if (option == SctpChannelOption.SCTP_INIT_MAXSTREAMS) {
setInitMaxStreams((SctpStandardSocketOptions.InitMaxStreams) value);
} else {
return super.setOption(option, value);
}
return true;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does setOption() do?
setOption() is a function in the netty codebase, defined in transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpServerChannelConfig.java.
Where is setOption() defined?
setOption() is defined in transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpServerChannelConfig.java at line 79.
What calls setOption()?
setOption() is called by 1 function(s): SctpServerChannelConfig.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free