| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | Returns: true if a new non-ACK packet can be sent at this timeReturns true if a new non-ACK packet can be sent at this time. |
| public long | Returns: the current size of the congestion window in bytesReturns the current size of the congestion window in bytes. |
| public long | |
| public boolean | Returns: true if sending is blocked by congestion windowReturns true if sending is blocked by congestion window. |
| public boolean | Returns: true if sending is blocked by pacerReturns true if sending is blocked by pacer. |
| public boolean | Returns: true if the connection is in slow start phaseReturns true if the connection is in slow start phase. |
| public long | |
| public Deadline | Returns: deadline when pacer will unblock sendingReturns deadline when pacer will unblock sending. |
| public void | packetAcked(int
acked packet size in bytes packetBytes, Deadline time when packet was sent sentTime)Update CC after a non-ACK packet is acked |
| public void | packetDiscarded(Collection<QuicPacket>
collection of discarded packets discardedPackets)Update CC after packets are discarded |
| public void | packetLost(Collection<QuicPacket>
collection of lost packets lostPackets, Deadline time when the most recent lost packet was sent sentTime, boolean true if persistent congestion detected, false otherwise persistent)Update CC after packets are declared lost |
| public void | |
| public void | |
| public void |
| appLimited | back to summary |
|---|---|
| public void appLimited() Notify the congestion controller that sending is app-limited | |
| canSendPacket | back to summary |
|---|---|
| public boolean canSendPacket() Returns true if a new non-ACK packet can be sent at this time.
| |
| congestionWindow | back to summary |
|---|---|
| public long congestionWindow() Returns the current size of the congestion window in bytes.
| |
| initialWindow | back to summary |
|---|---|
| public long initialWindow() Returns the initial window size in bytes.
| |
| isCwndLimited | back to summary |
|---|---|
| public boolean isCwndLimited() Returns true if sending is blocked by congestion window.
| |
| isPacerLimited | back to summary |
|---|---|
| public boolean isPacerLimited() Returns true if sending is blocked by pacer.
| |
| isSlowStart | back to summary |
|---|---|
| public boolean isSlowStart() Returns true if the connection is in slow start phase.
| |
| maxDatagramSize | back to summary |
|---|---|
| public long maxDatagramSize() Returns maximum datagram size.
| |
| pacerDeadline | back to summary |
|---|---|
| public Deadline pacerDeadline() Returns deadline when pacer will unblock sending.
| |
| packetAcked | back to summary |
|---|---|
| public void packetAcked(int packetBytes, Deadline sentTime) Update CC after a non-ACK packet is acked
| |
| packetDiscarded | back to summary |
|---|---|
| public void packetDiscarded(Collection<QuicPacket> discardedPackets) Update CC after packets are discarded
| |
| packetLost | back to summary |
|---|---|
| public void packetLost(Collection<QuicPacket> lostPackets, Deadline sentTime, boolean persistent) Update CC after packets are declared lost
| |
| packetSent | back to summary |
|---|---|
| public void packetSent(int packetBytes) Update CC with a non-ACK packet
| |
| updateMaxDatagramSize | back to summary |
|---|---|
| public void updateMaxDatagramSize(int newSize) Update the maximum datagram size
| |
| updatePacer | back to summary |
|---|---|
| public void updatePacer(Deadline now) Update the pacer with the current time
| |