| Package | Description |
|---|---|
| org.sellcom.core.net |
| Modifier and Type | Method and Description |
|---|---|
static DatagramSender |
DatagramSender.create(ProtocolFamily protocolFamily)
Creates a datagram sender.
|
DatagramSender |
DatagramSender.withLocalAddressAndPort(InetAddress localAddress,
int localPort)
Sets the local address and port of this sender.
|
DatagramSender |
DatagramSender.withLocalPort(int localPort)
Sets the local port of this sender.
|
DatagramSender |
DatagramSender.withMulticast(NetworkInterface networkInterface)
Enables multicast on this sender over the given network interface.
|
DatagramSender |
DatagramSender.withSendBufferSize(int bufferSize)
Sets the send buffer size of this sender.
|
DatagramSender |
DatagramSender.withSenderThreadPriority(int threadPriority)
Sets the priority of the sender threads in this sender.
|
DatagramSender |
DatagramSender.withSenderThreads(int threads)
Sets the number of the sender threads in this sender.
|
DatagramSender |
DatagramSender.withSendRepeatCount(int repeatCount)
Sets the send repeat count of this sender.
|
DatagramSender |
DatagramSender.withSendRepeatInterval(int repeatInterval)
Sets the send repeat interval (in milliseconds) of this sender.
|
DatagramSender |
DatagramSender.withTimeToLive(int timeToLive)
Sets the TTL of multicast packets sent by this sender.
|
DatagramSender |
DatagramSender.withTrafficClass(TrafficClass trafficClass)
Sets the traffic class of datagrams sent by this sender.
|