public class DtlsRetransmissionParams extends Object implements VisitableConfig
| Modifier and Type | Field and Description |
|---|---|
String |
additionalEccTimeout
DTLS additional initial timeout for ECC related flights.
|
Integer |
backoffThreshold
Number of flight-retransmissions before switching to backoff mode using single handshake messages in single record datagrams.
|
boolean |
earlyStop
Stop retransmission on receiving the first message of the next flight, not waiting for the last message.
|
String |
initialTimeout
The initial DTLS retransmission timeout.
|
Integer |
maxRetransmissions
DTLS maximum number of flight retransmissions.
|
String |
maxTimeout
The maximum DTLS retransmission timeout.
|
Float |
timeoutRandomFactor
DTLS random factor for initial retransmission timeout.
|
Float |
timeoutScaleFactor
Random factor applied to the initial retransmission timeout.
|
| Constructor and Description |
|---|
DtlsRetransmissionParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ConfigVisitor visitor)
Accept visitor.
|
boolean |
equals(Object obj) |
int |
hashCode() |
@Parameter @Optional(defaultValue="2s") @Summary(value="The initial DTLS retransmission timeout.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public String initialTimeout
@Parameter @Optional(defaultValue="60s") @Summary(value="The maximum DTLS retransmission timeout.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public String maxTimeout
@Parameter @Optional(defaultValue="1.0") @Summary(value="DTLS random factor for initial retransmission timeout.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Float timeoutRandomFactor
@Parameter @Optional(defaultValue="2.0") @Summary(value="DTLS scale factor for retransmission backoff-timeout.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Float timeoutScaleFactor
@Parameter @Optional(defaultValue="0ms") @Summary(value="DTLS additional initial timeout for ECC related flights.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public String additionalEccTimeout
@Parameter @Optional(defaultValue="4") @Summary(value="DTLS maximum number of flight retransmissions.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Integer maxRetransmissions
@Parameter @Optional @Summary(value="Number of flight-retransmissions before switching to backoff mode using single handshake messages in single record datagrams.\nSet value to 0 to disable. Default value is max retransmissions / 2.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Integer backoffThreshold
@Parameter @Optional(defaultValue="true") @Summary(value="Stop retransmission on receiving the first message of the next flight, not waiting for the last message.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public boolean earlyStop
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–2025 Teslanet.nl. All rights reserved.