net.sf.fmj.media.rtp
Class RTPGlobalReceptionStats

java.lang.Object
  extended by net.sf.fmj.media.rtp.RTPGlobalReceptionStats
All Implemented Interfaces:
GlobalReceptionStats

public class RTPGlobalReceptionStats
extends java.lang.Object
implements GlobalReceptionStats

Represents reception statistics

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

Constructor Summary
RTPGlobalReceptionStats()
           
 
Method Summary
 void addBadRTCPPkt()
          Adds a bad rtcp packet to the bad rtcp packet count
 void addBadRTPkt()
          Adds a packet to the bad packet count
 void addBytesRecd(int bytes)
          Adds bytes to the received byte count
 void addLocalColl()
          Adds a collision to the local collision count
 void addLoopedPacket()
          Adds a packet to the looped packet count
 void addMalformedBYE()
          Adds a malformed BYE to the malformed BYE count
 void addMalformedRR()
          Adds a malformed RR to the malformed RR count
 void addMalformedSDES()
          Adds a malformed SDES to the malformed SDES count
 void addMalformedSR()
          Adds a malformed SR to the malformed SR count
 void addPacketRecd()
          Adds a packet to the received packet count
 void addRemoteColl()
          Adds a collision to the remote collision count
 void addRTCPRecd()
          Adds a rtcp pakcet to the received rtcp packet count
 void addSRRecd()
          Adds a sr packet to the received sr packet count
 void addTransmitFailed()
          Adds a failure to the transmit failed count
 void addUnknownType()
          Adds a unknown type to the unknown type count
 int getBadRTCPPkts()
           
 int getBadRTPkts()
           
 int getBytesRecd()
           
 int getLocalColls()
           
 int getMalformedBye()
           
 int getMalformedRR()
           
 int getMalformedSDES()
           
 int getMalformedSR()
           
 int getPacketsLooped()
           
 int getPacketsRecd()
           
 int getRemoteColls()
           
 int getRTCPRecd()
           
 int getSRRecd()
           
 int getTransmitFailed()
           
 int getUnknownTypes()
           
 void resetBytesRecd()
          Resets the number of bytes read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTPGlobalReceptionStats

public RTPGlobalReceptionStats()
Method Detail

getPacketsRecd

public int getPacketsRecd()
Specified by:
getPacketsRecd in interface GlobalReceptionStats

getBytesRecd

public int getBytesRecd()
Specified by:
getBytesRecd in interface GlobalReceptionStats

resetBytesRecd

public void resetBytesRecd()
Resets the number of bytes read


getBadRTPkts

public int getBadRTPkts()
Specified by:
getBadRTPkts in interface GlobalReceptionStats

getLocalColls

public int getLocalColls()
Specified by:
getLocalColls in interface GlobalReceptionStats

getRemoteColls

public int getRemoteColls()
Specified by:
getRemoteColls in interface GlobalReceptionStats

getPacketsLooped

public int getPacketsLooped()
Specified by:
getPacketsLooped in interface GlobalReceptionStats

getTransmitFailed

public int getTransmitFailed()
Specified by:
getTransmitFailed in interface GlobalReceptionStats

getRTCPRecd

public int getRTCPRecd()
Specified by:
getRTCPRecd in interface GlobalReceptionStats

getSRRecd

public int getSRRecd()
Specified by:
getSRRecd in interface GlobalReceptionStats

getBadRTCPPkts

public int getBadRTCPPkts()
Specified by:
getBadRTCPPkts in interface GlobalReceptionStats

getUnknownTypes

public int getUnknownTypes()
Specified by:
getUnknownTypes in interface GlobalReceptionStats

getMalformedRR

public int getMalformedRR()
Specified by:
getMalformedRR in interface GlobalReceptionStats

getMalformedSDES

public int getMalformedSDES()
Specified by:
getMalformedSDES in interface GlobalReceptionStats

getMalformedBye

public int getMalformedBye()
Specified by:
getMalformedBye in interface GlobalReceptionStats

getMalformedSR

public int getMalformedSR()
Specified by:
getMalformedSR in interface GlobalReceptionStats

addPacketRecd

public void addPacketRecd()
Adds a packet to the received packet count


addBytesRecd

public void addBytesRecd(int bytes)
Adds bytes to the received byte count


addBadRTPkt

public void addBadRTPkt()
Adds a packet to the bad packet count


addLocalColl

public void addLocalColl()
Adds a collision to the local collision count


addRemoteColl

public void addRemoteColl()
Adds a collision to the remote collision count


addLoopedPacket

public void addLoopedPacket()
Adds a packet to the looped packet count


addTransmitFailed

public void addTransmitFailed()
Adds a failure to the transmit failed count


addRTCPRecd

public void addRTCPRecd()
Adds a rtcp pakcet to the received rtcp packet count


addSRRecd

public void addSRRecd()
Adds a sr packet to the received sr packet count


addBadRTCPPkt

public void addBadRTCPPkt()
Adds a bad rtcp packet to the bad rtcp packet count


addUnknownType

public void addUnknownType()
Adds a unknown type to the unknown type count


addMalformedRR

public void addMalformedRR()
Adds a malformed RR to the malformed RR count


addMalformedSDES

public void addMalformedSDES()
Adds a malformed SDES to the malformed SDES count


addMalformedBYE

public void addMalformedBYE()
Adds a malformed BYE to the malformed BYE count


addMalformedSR

public void addMalformedSR()
Adds a malformed SR to the malformed SR count