Interface QuicTransportParams


public interface QuicTransportParams
Quic transport parameters.
Author:
Julien Viet
  • Method Details

    • initialMaxData

      long initialMaxData()

      Return the initialMaxData transport parameter.

      When set to a non-zero value, it will only allow at most initialMaxData bytes of incoming stream data to be buffered for the whole connection (that is, data that is not yet read by the application) and will allow more data to be received as the buffer is consumed by the application.

      Returns:
      the initialMaxData parameter value
    • initialMaxStreamDataBidiLocal

      long initialMaxStreamDataBidiLocal()

      Return the initialMaxStreamDataBidiLocal transport parameter.

      When set to a non-zero value it will only allow at most initialMaxStreamDataBidiLocal bytes of incoming stream data to be buffered for each locally-initiated bidirectional stream (that is, data that is not yet read by the application) and will allow more data to be received as the buffer is consumed by the application.

      Returns:
      the initialMaxStreamDataBidiLocal parameter value
    • initialMaxStreamDataBidiRemote

      long initialMaxStreamDataBidiRemote()

      Return the initialMaxStreamDataBidiRemote transport parameter.

      When set to a non-zero value it will only allow at most initialMaxStreamDataBidiRemote bytes of incoming stream data to be buffered for each remotely-initiated bidirectional stream (that is, data that is not yet read by the application) and will allow more data to be received as the buffer is consumed by the application.

      Returns:
      the initialMaxStreamDataBidiRemote parameter value
    • initialMaxStreamsBidi

      long initialMaxStreamsBidi()

      Return the initialMaxStreamsBidi transport parameter.

      When set to a non-zero value it will only allow initialMaxStreamsBidi number of concurrent remotely-initiated bidirectional streams to be open at any given time and will increase the limit automatically as streams are completed.

      A bidirectional stream is considered completed when all incoming data has been read by the application (up to the fin offset) or the stream's read direction has been shutdown, and all outgoing data has been acked by the peer (up to the fin offset) or the stream's write direction has been shutdown.

      Returns:
      the initialMaxStreamsBidi parameter value
    • initialMaxStreamsUni

      long initialMaxStreamsUni()

      Return the initialMaxStreamsUni transport parameter.

      When set to a non-zero value it will only allow initialMaxStreamsUni number of concurrent remotely-initiated unidirectional streams to be open at any given time and will increase the limit automatically as streams are completed.

      A unidirectional stream is considered completed when all incoming data has been read by the application (up to the fin offset) or the stream's read direction has been shutdown.

      Returns:
      the initialMaxStreamsUni parameter value
    • initialMaxStreamDataUni

      long initialMaxStreamDataUni()

      Return the initialMaxStreamDataUni transport parameter.

      When set to a non-zero value it will only allow at most initialMaxStreamDataUni bytes of incoming stream data to be buffered for each unidirectional stream (that is, data that is not yet read by the application) and will allow more data to be received as the buffer is consumed by the application.

      Returns:
      the initialMaxStreamDataUni parameter value
    • disableActiveMigration

      boolean disableActiveMigration()

      Returns whether active migration is disabled.

      Returns:
      the disableActiveMigration parameter value
    • maxIdleTimeout

      Duration maxIdleTimeout()

      Returns the maxIdleTimeout transport parameter.

      The default value null means infinite, that is, no timeout is used.

      Returns:
      the maxIdleTimeout parameter value
    • maxAckDelay

      Duration maxAckDelay()

      Returns the maxAckDelay transport parameter.

      Returns:
      the maxAckDelay parameter value
    • ackDelayExponent

      long ackDelayExponent()

      Returns the ackDelayExponent transport parameter.

      Returns:
      the ackDelayExponent parameter value