Class QuicDatagramConfig

java.lang.Object
io.vertx.core.net.QuicDatagramConfig

@Unstable public class QuicDatagramConfig extends Object
QUIC datagram configuration.
  • 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

      public QuicDatagramConfig(QuicDatagramConfig other)
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Returns:
      whether to support datagrams frames
      See Also:
    • setEnabled

      public QuicDatagramConfig setEnabled(boolean enableDatagrams)

      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

      public QuicDatagramConfig setSendQueueLength(int datagramSendQueueLength)

      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

      public QuicDatagramConfig setReceiveQueueLength(int datagramReceiveQueueLength)

      Set the datagram send queue length.

      The default value is 128.

      Parameters:
      datagramReceiveQueueLength - the value to use
      Returns:
      this instance