Class SctpStats

java.lang.Object
tel.schich.libdatachannel.SctpStats

public final class SctpStats extends Object
What a peer's SCTP association reported about itself when it was read.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Congestion window in bytes.
    long
    Retransmission timer expiries since the association started, each a stall while data is resent.
    long
    DATA chunks received that had arrived already, so the peer resent what it need not have.
    long
    Packets sent by fast retransmit, after the peer reported gaps.
    long
    SACKs received that reported gaps in what the peer had.
    long
    Receive window the peer last advertised, in bytes.
    long
    Received chunks waiting for reassembly or ordering.
    long
    Received bytes waiting for reassembly or ordering.
    long
    DATA chunks sent again, by fast retransmit or after a retransmission timeout.
    rto()
    Retransmission timeout, which grows as acknowledgements go missing.
    rtt()
    Smoothed round trip time in whole milliseconds, zero until sampled or while under one.
    long
    Bytes the send queue may hold before messages wait in the buffered amount instead.
    long
    Bytes accepted for sending and not acknowledged yet, sent or not, which the buffered amount does not count.
     
    long
    DATA chunks sent and not acknowledged yet.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • rtt

      public Duration rtt()
      Smoothed round trip time in whole milliseconds, zero until sampled or while under one.
    • rto

      public Duration rto()
      Retransmission timeout, which grows as acknowledgements go missing.
    • congestionWindow

      public long congestionWindow()
      Congestion window in bytes.
    • peerReceiveWindow

      public long peerReceiveWindow()
      Receive window the peer last advertised, in bytes.
    • unackedChunks

      public long unackedChunks()
      DATA chunks sent and not acknowledged yet.
    • pendingChunks

      public long pendingChunks()
      Received chunks waiting for reassembly or ordering.
    • dataTimeouts

      public long dataTimeouts()
      Retransmission timer expiries since the association started, each a stall while data is resent.
    • sendQueueBytes

      public long sendQueueBytes()
      Bytes accepted for sending and not acknowledged yet, sent or not, which the buffered amount does not count.
    • sendBufferSize

      public long sendBufferSize()
      Bytes the send queue may hold before messages wait in the buffered amount instead.
    • receiveQueueBytes

      public long receiveQueueBytes()
      Received bytes waiting for reassembly or ordering.
    • fastRetransmits

      public long fastRetransmits()
      Packets sent by fast retransmit, after the peer reported gaps. Each halves the congestion window, so where these run ahead of what the path lost, the peer is reporting gaps for data that arrived.
    • retransmittedChunks

      public long retransmittedChunks()
      DATA chunks sent again, by fast retransmit or after a retransmission timeout.
    • gapSacks

      public long gapSacks()
      SACKs received that reported gaps in what the peer had.
    • duplicateTsnsReceived

      public long duplicateTsnsReceived()
      DATA chunks received that had arrived already, so the peer resent what it need not have.
    • toString

      public String toString()
      Overrides:
      toString in class Object