Home / Function/ setChannelOption() — netty Function Reference

setChannelOption() — netty Function Reference

Architecture documentation for the setChannelOption() function in Quic.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5e9106f1_07bf_91ec_0ef4_48bc893f5829["setChannelOption()"]
  ce0a1216_6e51_db3d_e439_3e5fed561f60["Quic"]
  5e9106f1_07bf_91ec_0ef4_48bc893f5829 -->|defined in| ce0a1216_6e51_db3d_e439_3e5fed561f60
  4ad5697d_9346_7383_9d43_e454e84d868f["setChannelOptions()"]
  4ad5697d_9346_7383_9d43_e454e84d868f -->|calls| 5e9106f1_07bf_91ec_0ef4_48bc893f5829
  style 5e9106f1_07bf_91ec_0ef4_48bc893f5829 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quic.java lines 125–136

    @SuppressWarnings("unchecked")
    private static void setChannelOption(
            Channel channel, ChannelOption<?> option, Object value, InternalLogger logger) {
        try {
            if (!channel.config().setOption((ChannelOption<Object>) option, value)) {
                logger.warn("Unknown channel option '{}' for channel '{}'", option, channel);
            }
        } catch (Throwable t) {
            logger.warn(
                    "Failed to set channel option '{}' with value '{}' for channel '{}'", option, value, channel, t);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does setChannelOption() do?
setChannelOption() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quic.java.
Where is setChannelOption() defined?
setChannelOption() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/Quic.java at line 125.
What calls setChannelOption()?
setChannelOption() is called by 1 function(s): setChannelOptions.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free