net.sf.fmj.media.rtp
Class RTPGlobalTransmissionStats

java.lang.Object
  extended by net.sf.fmj.media.rtp.RTPGlobalTransmissionStats
All Implemented Interfaces:
GlobalTransmissionStats

public class RTPGlobalTransmissionStats
extends java.lang.Object
implements GlobalTransmissionStats

Represents global transmission statistics

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

Constructor Summary
RTPGlobalTransmissionStats()
           
 
Method Summary
 void addBytesSent(int bytes)
          Adds bytes to the sent byte count
 void addLocalColl()
          Adds a collision to the local collision count
 void addRemoteColl()
          Adds a collision to the remote collision count
 void addRTCPSent()
          Adds a packet to the sent rtcp packet count
 void addRTPSent()
          Adds a packet to the sent packet count
 void addTransmitFailed()
          Adds a failure to the transmit failed count
 int getBytesSent()
           
 int getLocalColls()
           
 int getRemoteColls()
           
 int getRTCPSent()
           
 int getRTPSent()
           
 int getTransmitFailed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTPGlobalTransmissionStats

public RTPGlobalTransmissionStats()
Method Detail

getRTPSent

public int getRTPSent()
Specified by:
getRTPSent in interface GlobalTransmissionStats

getBytesSent

public int getBytesSent()
Specified by:
getBytesSent in interface GlobalTransmissionStats

getRTCPSent

public int getRTCPSent()
Specified by:
getRTCPSent in interface GlobalTransmissionStats

getLocalColls

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

getRemoteColls

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

getTransmitFailed

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

addRTPSent

public void addRTPSent()
Adds a packet to the sent packet count


addBytesSent

public void addBytesSent(int bytes)
Adds bytes to the sent byte count


addRTCPSent

public void addRTCPSent()
Adds a packet to the sent rtcp 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


addTransmitFailed

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