| Package | Description |
|---|---|
| org.sellcom.core.net |
| Modifier and Type | Method and Description |
|---|---|
static DatagramReceiver |
DatagramReceiver.create(ProtocolFamily protocolFamily)
Creates a datagram receiver.
|
DatagramReceiver |
DatagramReceiver.withGroups(Set<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(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(Consumer<NetworkMessage> messageConsumer)
Sets the message consumer of this receiver.
|
DatagramReceiver |
DatagramReceiver.withNetworkInterface(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.
|