Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

RTCPReceiverReportPacket Class Reference

#include <RTCPPacket.h>

Inheritance diagram for RTCPReceiverReportPacket:

RTCPPacket RTCPSenderReportPacket List of all members.

Public Member Functions

 RTCPReceiverReportPacket (const char *name=NULL)
 RTCPReceiverReportPacket (const RTCPReceiverReportPacket &rtcpReceiverReportPacket)
virtual ~RTCPReceiverReportPacket ()
RTCPReceiverReportPacketoperator= (const RTCPReceiverReportPacket &rtcpReceiverReportPacket)
virtual cObject * dup () const
virtual const char * className () const
virtual void info (char *buf) const
virtual void writeContents (ostream &os) const
virtual u_int32 ssrc ()
virtual void setSSRC (u_int32 ssrc)
virtual void addReceptionReport (ReceptionReport *report)
virtual cArray * receptionReports ()

Protected Attributes

u_int32 _ssrc
cArray * _receptionReports

Detailed Description

This class represents rtcp receiver report packets. It can hold 0 to 31 ReceptionReports. Also the header field ssrc is included.
See also:
ReceptionReport


Constructor & Destructor Documentation

RTCPReceiverReportPacket::RTCPReceiverReportPacket const char *  name = NULL  ) 
 

Default contructor.

RTCPReceiverReportPacket::RTCPReceiverReportPacket const RTCPReceiverReportPacket rtcpReceiverReportPacket  ) 
 

Copy constructor.

RTCPReceiverReportPacket::~RTCPReceiverReportPacket  )  [virtual]
 

Destructor.


Member Function Documentation

void RTCPReceiverReportPacket::addReceptionReport ReceptionReport report  )  [virtual]
 

Adds a receiver report to this receiver report packet.

const char * RTCPReceiverReportPacket::className  )  const [virtual]
 

Returns the class name "RTCPReceiverReportPacket".

Reimplemented from RTCPPacket.

Reimplemented in RTCPSenderReportPacket.

cObject * RTCPReceiverReportPacket::dup  )  const [virtual]
 

Duplicates the RTCPReceiverReportPacket by calling the copy constructor.

Reimplemented from RTCPPacket.

Reimplemented in RTCPSenderReportPacket.

void RTCPReceiverReportPacket::info char *  buf  )  const [virtual]
 

Reports a one line info about the RTCPReceiverReportPacket.

Reimplemented from RTCPPacket.

Reimplemented in RTCPSenderReportPacket.

RTCPReceiverReportPacket & RTCPReceiverReportPacket::operator= const RTCPReceiverReportPacket rtcpReceiverReportPacket  ) 
 

Assignment operator.

cArray * RTCPReceiverReportPacket::receptionReports  )  [virtual]
 

Return a copy of the cArray of receiver reports stored in the object.

void RTCPReceiverReportPacket::setSSRC u_int32  ssrc  )  [virtual]
 

Sets the ssrc identifier for the rtcp receiver report packet.

u_int32 RTCPReceiverReportPacket::ssrc  )  [virtual]
 

Returns the ssrc indentifier of the source which has sent this rtcp receiver report packet.

void RTCPReceiverReportPacket::writeContents ostream &  os  )  const [virtual]
 

Writes a report about the RTCPReceiverReportPacket into the stream.

Reimplemented from RTCPPacket.

Reimplemented in RTCPSenderReportPacket.


Member Data Documentation

cArray* RTCPReceiverReportPacket::_receptionReports [protected]
 

The reception reports in this packet are stored here.

u_int32 RTCPReceiverReportPacket::_ssrc [protected]
 

The ssrc identifier of the source of this rtcp packet.


The documentation for this class was generated from the following files:
Generated on Tue Sep 12 12:20:21 2006 for RTP model for OMNeT++ by  doxygen 1.4.2