Object() — netty Function Reference
Architecture documentation for the Object() function in NioSctpChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 307d6f3a_20b3_36db_c864_a3ce3ef4dd7d["Object()"] ce6c049a_7822_1e77_29fc_0d83a1e2ef54["NioSctpChannel"] 307d6f3a_20b3_36db_c864_a3ce3ef4dd7d -->|defined in| ce6c049a_7822_1e77_29fc_0d83a1e2ef54 style 307d6f3a_20b3_36db_c864_a3ce3ef4dd7d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-sctp/src/main/java/io/netty/channel/sctp/nio/NioSctpChannel.java lines 349–365
@Override
protected final Object filterOutboundMessage(Object msg) throws Exception {
if (msg instanceof SctpMessage) {
SctpMessage m = (SctpMessage) msg;
ByteBuf buf = m.content();
if (buf.isDirect() && buf.nioBufferCount() == 1) {
return m;
}
return new SctpMessage(m.protocolIdentifier(), m.streamIdentifier(), m.isUnordered(),
newDirectBuffer(m, buf));
}
throw new UnsupportedOperationException(
"unsupported message type: " + StringUtil.simpleClassName(msg) +
" (expected: " + StringUtil.simpleClassName(SctpMessage.class));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Object() do?
Object() is a function in the netty codebase, defined in transport-sctp/src/main/java/io/netty/channel/sctp/nio/NioSctpChannel.java.
Where is Object() defined?
Object() is defined in transport-sctp/src/main/java/io/netty/channel/sctp/nio/NioSctpChannel.java at line 349.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free