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
    Receive window the peer last advertised, in bytes.
    long
    Received chunks waiting for reassembly or ordering.
    long
    Received bytes waiting for reassembly or ordering.
    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.
    • toString

      public String toString()
      Overrides:
      toString in class Object