public final class UdpTransportConfig extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_UDP_BUFFER_SIZE |
Modifier and Type | Method and Description |
---|---|
InetAddress |
address() |
boolean |
equals(Object o) |
int |
hashCode() |
static UdpTransportConfig |
multiCast(InetAddress address,
int port,
NetworkInterface networkInterface) |
String |
name() |
NetworkInterface |
networkInterface() |
UdpTransportConfig |
networkInterfaceForMulticast(NetworkInterface networkInterface) |
static UdpTransportConfig |
of(InetAddress address,
int port) |
int |
port() |
ThrottlingConfig |
throttlingConfig() |
UdpTransportConfig |
throttlingConfig(ThrottlingConfig throttlingConfig) |
String |
toString() |
int |
udpBufferSize() |
UdpTransportConfig |
udpBufferSize(int udpBufferSize) |
public static final int DEFAULT_UDP_BUFFER_SIZE
public static UdpTransportConfig multiCast(@NotNull InetAddress address, int port, @Nullable NetworkInterface networkInterface)
public static UdpTransportConfig of(@NotNull InetAddress address, int port)
@NotNull public InetAddress address()
public int port()
@Nullable public NetworkInterface networkInterface()
@NotNull public ThrottlingConfig throttlingConfig()
public UdpTransportConfig networkInterfaceForMulticast(@Nullable NetworkInterface networkInterface)
public UdpTransportConfig throttlingConfig(@NotNull ThrottlingConfig throttlingConfig)
public int udpBufferSize()
public UdpTransportConfig udpBufferSize(int udpBufferSize)
public String name()
Copyright © 2015. All rights reserved.