Package tel.schich.libdatachannel
Class SctpSettings.Builder
java.lang.Object
tel.schich.libdatachannel.SctpSettings.Builder
- Enclosing class:
- SctpSettings
-
Method Summary
Modifier and TypeMethodDescriptionbuild()congestionControlModule(int module) 0: RFC 2581, 1: HSTCP, 2: H-TCP, 3: RTCC.cwndBasedMaxBurst(boolean enabled) Whether max burst shrinks the congestion window to what is in flight plusmaxBurstMTUs whenever the sender has less in flight than the window allows, as usrsctp does by default.delayedSackTimeMs(int millis) heartbeatIntervalMs(int millis) initialCongestionWindow(int mtus) Initial congestion window in MTUs.initialRetransmitTimeoutMs(int millis) maxBurst(int mtus) Most packets sent at once, in MTUs.maxChunksOnQueue(int chunks) maxRetransmitAttempts(int attempts) Consecutive retransmissions before the association is given up.maxRetransmitTimeoutMs(int millis) minRetransmitTimeoutMs(int millis) recvBufferSize(int bytes) Receive buffer in bytes, which bounds the window advertised to the peer.sendBufferSize(int bytes) Send buffer in bytes.
-
Method Details
-
recvBufferSize
Receive buffer in bytes, which bounds the window advertised to the peer. -
sendBufferSize
Send buffer in bytes. -
maxChunksOnQueue
-
initialCongestionWindow
Initial congestion window in MTUs. -
maxBurst
Most packets sent at once, in MTUs. -
congestionControlModule
0: RFC 2581, 1: HSTCP, 2: H-TCP, 3: RTCC. -
delayedSackTimeMs
-
minRetransmitTimeoutMs
-
maxRetransmitTimeoutMs
-
initialRetransmitTimeoutMs
-
maxRetransmitAttempts
Consecutive retransmissions before the association is given up. -
heartbeatIntervalMs
-
cwndBasedMaxBurst
Whether max burst shrinks the congestion window to what is in flight plusmaxBurstMTUs whenever the sender has less in flight than the window allows, as usrsctp does by default. Light traffic then pins the window at max burst MTUs going into every burst after it; with false, max burst only limits each burst. -
build
-