Class QuicDatagramConfig
java.lang.Object
io.vertx.core.net.QuicDatagramConfig
QUIC datagram configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleansetEnabled(boolean enableDatagrams) Set whether to support datagrams frames.setReceiveQueueLength(int datagramReceiveQueueLength) Set the datagram send queue length.setSendQueueLength(int datagramSendQueueLength) Set the datagram receive queue length.
-
Field Details
-
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLED- See Also:
-
DEFAULT_SEND_QUEUE_LENGTH
public static final int DEFAULT_SEND_QUEUE_LENGTH- See Also:
-
DEFAULT_RECEIVE_QUEUE_LENGTH
public static final int DEFAULT_RECEIVE_QUEUE_LENGTH- See Also:
-
-
Constructor Details
-
QuicDatagramConfig
public QuicDatagramConfig() -
QuicDatagramConfig
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Returns:
- whether to support datagrams frames
- See Also:
-
setEnabled
Set whether to support datagrams frames.
The default value is
false(disabled).- Parameters:
enableDatagrams- the value to set- Returns:
- this instance
-
getSendQueueLength
public int getSendQueueLength()- Returns:
- the datagram send queue length
- See Also:
-
setSendQueueLength
Set the datagram receive queue length.
The default value is
128.- Parameters:
datagramSendQueueLength- the value to use- Returns:
- this instance
-
getReceiveQueueLength
public int getReceiveQueueLength()- Returns:
- the datagram receive queue length
- See Also:
-
setReceiveQueueLength
Set the datagram send queue length.
The default value is
128.- Parameters:
datagramReceiveQueueLength- the value to use- Returns:
- this instance
-