T() — netty Function Reference
Architecture documentation for the T() function in DefaultSctpServerChannelConfig.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 764c230a_9dcb_55fb_be9b_213ccc62db95["T()"] 40456af4_21bf_9024_a843_04200d414127["DefaultSctpServerChannelConfig"] 764c230a_9dcb_55fb_be9b_213ccc62db95 -->|defined in| 40456af4_21bf_9024_a843_04200d414127 9d831453_5012_cf38_9bd1_e94aef2af937["getReceiveBufferSize()"] 764c230a_9dcb_55fb_be9b_213ccc62db95 -->|calls| 9d831453_5012_cf38_9bd1_e94aef2af937 71a7415c_88a3_9405_978b_329b9963b1da["getSendBufferSize()"] 764c230a_9dcb_55fb_be9b_213ccc62db95 -->|calls| 71a7415c_88a3_9405_978b_329b9963b1da 2c6c2388_8257_7158_06a0_9dc844778c37["getBacklog()"] 764c230a_9dcb_55fb_be9b_213ccc62db95 -->|calls| 2c6c2388_8257_7158_06a0_9dc844778c37 19263fa6_6b03_4a7a_ab1d_bf87cc283b8a["getInitMaxStreams()"] 764c230a_9dcb_55fb_be9b_213ccc62db95 -->|calls| 19263fa6_6b03_4a7a_ab1d_bf87cc283b8a style 764c230a_9dcb_55fb_be9b_213ccc62db95 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpServerChannelConfig.java lines 61–77
@SuppressWarnings("unchecked")
@Override
public <T> T getOption(ChannelOption<T> option) {
if (option == ChannelOption.SO_RCVBUF) {
return (T) Integer.valueOf(getReceiveBufferSize());
}
if (option == ChannelOption.SO_SNDBUF) {
return (T) Integer.valueOf(getSendBufferSize());
}
if (option == ChannelOption.SO_BACKLOG) {
return (T) Integer.valueOf(getBacklog());
}
if (option == SctpChannelOption.SCTP_INIT_MAXSTREAMS) {
return (T) getInitMaxStreams();
}
return super.getOption(option);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does T() do?
T() is a function in the netty codebase, defined in transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpServerChannelConfig.java.
Where is T() defined?
T() is defined in transport-sctp/src/main/java/io/netty/channel/sctp/DefaultSctpServerChannelConfig.java at line 61.
What does T() call?
T() calls 4 function(s): getBacklog, getInitMaxStreams, getReceiveBufferSize, getSendBufferSize.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free