Interface QuicTransportParams
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns theackDelayExponenttransport parameter.booleanReturns whether active migration is disabled.longReturn theinitialMaxDatatransport parameter.longReturn theinitialMaxStreamDataBidiLocaltransport parameter.longReturn theinitialMaxStreamDataBidiRemotetransport parameter.longReturn theinitialMaxStreamDataUnitransport parameter.longReturn theinitialMaxStreamsBiditransport parameter.longReturn theinitialMaxStreamsUnitransport parameter.Returns themaxAckDelaytransport parameter.Returns themaxIdleTimeouttransport parameter.
-
Method Details
-
initialMaxData
long initialMaxData()Return the
initialMaxDatatransport parameter.When set to a non-zero value, it will only allow at most
initialMaxDatabytes 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
initialMaxDataparameter value
-
initialMaxStreamDataBidiLocal
long initialMaxStreamDataBidiLocal()Return the
initialMaxStreamDataBidiLocaltransport parameter.When set to a non-zero value it will only allow at most
initialMaxStreamDataBidiLocalbytes 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
initialMaxStreamDataBidiLocalparameter value
-
initialMaxStreamDataBidiRemote
long initialMaxStreamDataBidiRemote()Return the
initialMaxStreamDataBidiRemotetransport parameter.When set to a non-zero value it will only allow at most
initialMaxStreamDataBidiRemotebytes 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
initialMaxStreamDataBidiRemoteparameter value
-
initialMaxStreamsBidi
long initialMaxStreamsBidi()Return the
initialMaxStreamsBiditransport parameter.When set to a non-zero value it will only allow
initialMaxStreamsBidinumber 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
initialMaxStreamsBidiparameter value
-
initialMaxStreamsUni
long initialMaxStreamsUni()Return the
initialMaxStreamsUnitransport parameter.When set to a non-zero value it will only allow
initialMaxStreamsUninumber 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
initialMaxStreamsUniparameter value
-
initialMaxStreamDataUni
long initialMaxStreamDataUni()Return the
initialMaxStreamDataUnitransport parameter.When set to a non-zero value it will only allow at most
initialMaxStreamDataUnibytes 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
initialMaxStreamDataUniparameter value
-
disableActiveMigration
boolean disableActiveMigration()Returns whether active migration is disabled.
- Returns:
- the
disableActiveMigrationparameter value
-
maxIdleTimeout
Duration maxIdleTimeout()Returns the
maxIdleTimeouttransport parameter.The default value
nullmeans infinite, that is, no timeout is used.- Returns:
- the
maxIdleTimeoutparameter value
-
maxAckDelay
Duration maxAckDelay()Returns the
maxAckDelaytransport parameter.- Returns:
- the
maxAckDelayparameter value
-
ackDelayExponent
long ackDelayExponent()Returns the
ackDelayExponenttransport parameter.- Returns:
- the
ackDelayExponentparameter value
-