net.sf.fmj.media.rtp
Class RTPTransmissionStats

java.lang.Object
  extended by net.sf.fmj.media.rtp.RTPTransmissionStats
All Implemented Interfaces:
TransmissionStats

public class RTPTransmissionStats
extends java.lang.Object
implements TransmissionStats

Represents statistics for transmission

Version:
1-1-alpha3
Author:
Andrew G D Rowley, Christian Vincenot

Constructor Summary
RTPTransmissionStats()
           
 
Method Summary
 void addBytesTransmitted(int bytes)
          Adds some bytes to the number transmitted
 void addPDUTransmitted()
          Adds a packet to the number transmitted
 int getBytesTransmitted()
          Returns the number of bytes transmitted.
 int getPDUTransmitted()
          Returns the number of packets transmitted.
 int getRTCPSent()
          Returns the number of RTCP packets transmitted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTPTransmissionStats

public RTPTransmissionStats()
Method Detail

getPDUTransmitted

public int getPDUTransmitted()
Returns the number of packets transmitted.

Specified by:
getPDUTransmitted in interface TransmissionStats
Returns:
the number of packets transmitted

getBytesTransmitted

public int getBytesTransmitted()
Returns the number of bytes transmitted.

Specified by:
getBytesTransmitted in interface TransmissionStats
Returns:
the number of bytes transmitted

getRTCPSent

public int getRTCPSent()
Returns the number of RTCP packets transmitted.

Specified by:
getRTCPSent in interface TransmissionStats
Returns:
the number of RTCP packets transmitted

addPDUTransmitted

public void addPDUTransmitted()
Adds a packet to the number transmitted


addBytesTransmitted

public void addBytesTransmitted(int bytes)
Adds some bytes to the number transmitted

Parameters:
bytes - The number of bytes to add