| Package | Description |
|---|---|
| org.sellcom.core.net |
| Modifier and Type | Method | Description |
|---|---|---|
static DatagramReceiver |
DatagramReceiver.create(java.net.ProtocolFamily protocolFamily) |
Creates a datagram receiver.
|
DatagramReceiver |
DatagramReceiver.withGroups(java.util.Set<java.net.InetAddress> groups) |
Sets the multicast groups associated with this receiver.
|
DatagramReceiver |
DatagramReceiver.withHandlerThreadPriority(int threadPriority) |
Sets the priority of the handler threads in this receiver.
|
DatagramReceiver |
DatagramReceiver.withHandlerThreads(int threads) |
Sets the number of the handler threads in this receiver.
|
DatagramReceiver |
DatagramReceiver.withLocalAddressAndPort(java.net.InetAddress localAddress,
int localPort) |
Sets the local address and port of this receiver.
|
DatagramReceiver |
DatagramReceiver.withLocalPort(int localPort) |
Sets the local port of this receiver.
|
DatagramReceiver |
DatagramReceiver.withMessageConsumer(java.util.function.Consumer<NetworkMessage> messageConsumer) |
Sets the message consumer of this receiver.
|
DatagramReceiver |
DatagramReceiver.withNetworkInterface(java.net.NetworkInterface networkInterface) |
Sets the network interface associated with this receiver.
|
DatagramReceiver |
DatagramReceiver.withReceiveBufferSize(int bufferSize) |
Sets the receive buffer size of this receiver.
|
DatagramReceiver |
DatagramReceiver.withReceiverThreadPriority(int threadPriority) |
Sets the priority of the receiver threads in this receiver.
|
DatagramReceiver |
DatagramReceiver.withReceiverThreads(int threads) |
Sets the number of the receiver threads in this receiver.
|