public class UdpParams extends Object implements VisitableConfig
| Modifier and Type | Field and Description |
|---|---|
Integer |
datagramSize
Maximum UDP datagram size [bytes] that can be received.
|
Integer |
outCapacity
Maximum number of pending outbound messages.
|
Integer |
receiverThreadCount
Receiver thread pool size.
|
Integer |
senderThreadCount
Sender thread pool size.
|
| Constructor and Description |
|---|
UdpParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ConfigVisitor visitor)
Accept visitor.
|
boolean |
equals(Object obj) |
int |
hashCode() |
@Parameter @Optional(defaultValue="1") @Summary(value="Receiver thread pool size. Default value is CORES > 3 ? 2 : 1.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Integer receiverThreadCount
@Parameter @Optional(defaultValue="1") @Summary(value="Sender thread pool size. Default value is CORES > 3 ? 2 : 1.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Integer senderThreadCount
@Parameter @Optional(defaultValue="2048") @Summary(value="Maximum UDP datagram size [bytes] that can be received. The default size is 2048 bytes and must be at least 64 bytes.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Integer datagramSize
@Parameter @Optional @Summary(value="Maximum number of pending outbound messages. The number is unlimited by default and must be at least 32.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Integer outCapacity
public void accept(ConfigVisitor visitor) throws ConfigException
accept in interface VisitableConfigvisitor - The visitor of the configuration object.ConfigException - When the visit was not successful.public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2019–2024 Teslanet.nl. All rights reserved.