net.sf.fmj.media.rtp
Class RTPReceptionStats

java.lang.Object
  extended by net.sf.fmj.media.rtp.RTPReceptionStats
All Implemented Interfaces:
ReceptionStats

public class RTPReceptionStats
extends java.lang.Object
implements ReceptionStats

Represents receptions statistics for a given stream

Version:
1-1-alpha3
Author:
Andrew G D Rowley

Constructor Summary
RTPReceptionStats()
           
 
Method Summary
 void addPDUDuplicate()
          Adds a duplicate packet to the count
 void addPDUInvalid()
          Adds an invalid packet to the count
 void addPDULost(int lost)
          Adds a lost packet to the count
 void addPDUMisOrd()
          Adds a misordered packet to the count
 void addPDUProcessed()
          Adds a processed packet to the count
 void addSequenceWrap()
          Adds a sequence number wrap
 int getPDUDuplicate()
           
 int getPDUInvalid()
           
 int getPDUlost()
           
 int getPDUMisOrd()
           
 int getPDUProcessed()
           
 int getSequenceWrap()
          The number of times the sequence number has wrapped for this source
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTPReceptionStats

public RTPReceptionStats()
Method Detail

getPDUlost

public int getPDUlost()
Specified by:
getPDUlost in interface ReceptionStats

getPDUProcessed

public int getPDUProcessed()
Specified by:
getPDUProcessed in interface ReceptionStats

getPDUMisOrd

public int getPDUMisOrd()
Specified by:
getPDUMisOrd in interface ReceptionStats

getPDUInvalid

public int getPDUInvalid()
Specified by:
getPDUInvalid in interface ReceptionStats

getPDUDuplicate

public int getPDUDuplicate()
Specified by:
getPDUDuplicate in interface ReceptionStats

getSequenceWrap

public int getSequenceWrap()
The number of times the sequence number has wrapped for this source


addPDULost

public void addPDULost(int lost)
Adds a lost packet to the count


addPDUProcessed

public void addPDUProcessed()
Adds a processed packet to the count


addPDUMisOrd

public void addPDUMisOrd()
Adds a misordered packet to the count


addPDUInvalid

public void addPDUInvalid()
Adds an invalid packet to the count


addPDUDuplicate

public void addPDUDuplicate()
Adds a duplicate packet to the count


addSequenceWrap

public void addSequenceWrap()
Adds a sequence number wrap