DatagramChannelConfig Type — netty Architecture
Architecture documentation for the DatagramChannelConfig type/interface in DatagramChannelConfig.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 27b97865_27fd_acee_8615_d2a92756a1ee["DatagramChannelConfig"] 2744b7ba_24e4_f8a0_7e83_4e56989bae4d["DatagramChannelConfig.java"] 27b97865_27fd_acee_8615_d2a92756a1ee -->|defined in| 2744b7ba_24e4_f8a0_7e83_4e56989bae4d style 27b97865_27fd_acee_8615_d2a92756a1ee fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/socket/DatagramChannelConfig.java lines 63–188
public interface DatagramChannelConfig extends ChannelConfig {
/**
* Gets the {@link StandardSocketOptions#SO_SNDBUF} option.
*/
int getSendBufferSize();
/**
* Sets the {@link StandardSocketOptions#SO_SNDBUF} option.
*/
DatagramChannelConfig setSendBufferSize(int sendBufferSize);
/**
* Gets the {@link StandardSocketOptions#SO_RCVBUF} option.
*/
int getReceiveBufferSize();
/**
* Sets the {@link StandardSocketOptions#SO_RCVBUF} option.
*/
DatagramChannelConfig setReceiveBufferSize(int receiveBufferSize);
/**
* Gets the {@link StandardSocketOptions#IP_TOS} option.
*/
int getTrafficClass();
/**
* Sets the {@link StandardSocketOptions#IP_TOS} option.
*/
DatagramChannelConfig setTrafficClass(int trafficClass);
/**
* Gets the {@link StandardSocketOptions#SO_REUSEADDR} option.
*/
boolean isReuseAddress();
/**
* Gets the {@link StandardSocketOptions#SO_REUSEADDR} option.
*/
DatagramChannelConfig setReuseAddress(boolean reuseAddress);
/**
* Gets the {@link StandardSocketOptions#SO_BROADCAST} option.
*/
boolean isBroadcast();
/**
* Sets the {@link StandardSocketOptions#SO_BROADCAST} option.
*/
DatagramChannelConfig setBroadcast(boolean broadcast);
/**
* Gets the {@link StandardSocketOptions#IP_MULTICAST_LOOP} option.
*
* @return {@code true} if and only if the loopback mode has been disabled
*/
boolean isLoopbackModeDisabled();
/**
* Sets the {@link StandardSocketOptions#IP_MULTICAST_LOOP} option.
*
* @param loopbackModeDisabled
* {@code true} if and only if the loopback mode has been disabled
*/
DatagramChannelConfig setLoopbackModeDisabled(boolean loopbackModeDisabled);
/**
* Gets the {@link StandardSocketOptions#IP_MULTICAST_TTL} option.
*/
int getTimeToLive();
/**
* Sets the {@link StandardSocketOptions#IP_MULTICAST_TTL} option.
*/
DatagramChannelConfig setTimeToLive(int ttl);
/**
* Gets the address of the network interface used for multicast packets.
*/
InetAddress getInterface();
Source
Frequently Asked Questions
What is the DatagramChannelConfig type?
DatagramChannelConfig is a type/interface in the netty codebase, defined in transport/src/main/java/io/netty/channel/socket/DatagramChannelConfig.java.
Where is DatagramChannelConfig defined?
DatagramChannelConfig is defined in transport/src/main/java/io/netty/channel/socket/DatagramChannelConfig.java at line 63.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free