RTPReceiver Class Reference

#include <rtp.h>

List of all members.

Public Member Functions

 RTPReceiver (u_int32_t srcid)
u_int32_t srcid ()
int cum_pkts_lost ()
double eff_rtt ()
double rate ()
void cum_pkts_lost (int n)
void eff_rtt (double n)
void rate (double n)
void receive_report (receiver_report *)

Public Attributes

RTPReceivernext

Protected Attributes

u_int32_t srcid_
int cum_pkts_lost_
double eff_rtt_
double rate_


Detailed Description

This class holds the fields of the receivers in the RTP session. A receiver can only receive RTP packets and it is not a source

Definition at line 219 of file rtp.h.


Constructor & Destructor Documentation

RTPReceiver::RTPReceiver ( u_int32_t  srcid  ) 

constructor

Definition at line 669 of file session-rtp.cc.

References srcid_.


Member Function Documentation

u_int32_t RTPReceiver::srcid (  )  [inline]

the source id of the RTPReceiver

Definition at line 226 of file rtp.h.

References srcid_.

Referenced by RTPSession::enter_rcv(), RTPSession::lookup_rcv(), RTPSession::print_rcv(), RTPSession::recv_ctrl(), and RTPSession::remove_receiver().

int RTPReceiver::cum_pkts_lost (  )  [inline]

returns the total number of RTP packets lost

Definition at line 228 of file rtp.h.

References cum_pkts_lost_.

double RTPReceiver::eff_rtt (  )  [inline]

returns the effective RTT time measured by the sender

Definition at line 230 of file rtp.h.

References eff_rtt_.

Referenced by RTPSession::recv_ctrl().

double RTPReceiver::rate (  )  [inline]

returns the sendind rate in bytes/sec

Definition at line 232 of file rtp.h.

References rate_.

Referenced by RTPSession::recv_ctrl(), and RTPSession::update_rate().

void RTPReceiver::cum_pkts_lost ( int  n  )  [inline]

adds the lost packets since the start of the session

Definition at line 234 of file rtp.h.

References cum_pkts_lost_.

void RTPReceiver::eff_rtt ( double  n  )  [inline]

the effective RTT as it is measured by the RTP sender

Definition at line 236 of file rtp.h.

References eff_rtt_.

void RTPReceiver::rate ( double  n  )  [inline]

the TCP-friendly as it is reported by thr RTP receiver

Definition at line 238 of file rtp.h.

References rate_.


Member Data Documentation

RTPReceiver* RTPReceiver::next

instance of the RTPReceiver class

Definition at line 222 of file rtp.h.

Referenced by RTPSession::enter_rcv(), RTPSession::lookup_rcv(), RTPSession::print_rcv(), RTPSession::recv_ctrl(), RTPSession::remove_receiver(), RTPSession::update_rate(), and RTPSession::~RTPSession().

u_int32_t RTPReceiver::srcid_ [protected]

the source id of the receiver

Definition at line 243 of file rtp.h.

Referenced by RTPReceiver(), and srcid().

int RTPReceiver::cum_pkts_lost_ [protected]

the total number of packet losses since the start of the session

Definition at line 245 of file rtp.h.

Referenced by cum_pkts_lost().

double RTPReceiver::eff_rtt_ [protected]

the effective RTT measured by the RTP sender

Definition at line 247 of file rtp.h.

Referenced by eff_rtt().

double RTPReceiver::rate_ [protected]

the TCP-friendly as it is reported by thr RTP receiver

Definition at line 249 of file rtp.h.

Referenced by rate().


The documentation for this class was generated from the following files:
Generated on Sat Mar 8 18:04:09 2008 for RTP by  doxygen 1.5.1