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

RTPSenderInfo Class Reference

#include <RTPSenderInfo.h>

Inheritance diagram for RTPSenderInfo:

RTPParticipantInfo List of all members.

Public Member Functions

 RTPSenderInfo (u_int32 ssrc=0)
 RTPSenderInfo (const RTPSenderInfo &senderInfo)
virtual ~RTPSenderInfo ()
RTPSenderInfooperator= (const RTPSenderInfo &senderInfo)
virtual cObject * dup () const
virtual const char * className () const
virtual void processRTPPacket (RTPPacket *packet, simtime_t arrivalTime)
virtual void processReceptionReport (ReceptionReport *report, simtime_t arrivalTime)
virtual SenderReportsenderReport (simtime_t now)
virtual void setStartTime (simtime_t startTime)
virtual void setClockRate (int clockRate)
virtual void setTimeStampBase (u_int32 timeStampBase)
virtual void setSequenceNumberBase (u_int16 sequenceNumberBase)
virtual bool toBeDeleted (simtime_t now)

Detailed Description

The class RTPSenderInfo is used by an rtp end system for storing information about itself. With the stored information it can create a SenderReport.


Constructor & Destructor Documentation

RTPSenderInfo::RTPSenderInfo u_int32  ssrc = 0  ) 
 

Default constructor.

RTPSenderInfo::RTPSenderInfo const RTPSenderInfo senderInfo  ) 
 

Copy constructor.

RTPSenderInfo::~RTPSenderInfo  )  [virtual]
 

Destructor.


Member Function Documentation

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

Returns the class name "RTPSenderInfo".

Reimplemented from RTPParticipantInfo.

cObject * RTPSenderInfo::dup  )  const [virtual]
 

Duplicates this RTPSenderInfo by calling the copy constructor.

Reimplemented from RTPParticipantInfo.

RTPSenderInfo & RTPSenderInfo::operator= const RTPSenderInfo senderInfo  ) 
 

Assignment operator.

void RTPSenderInfo::processReceptionReport ReceptionReport report,
simtime_t  arrivalTime
[virtual]
 

Processes an incoming ReceptionReport for this sender.

Reimplemented from RTPParticipantInfo.

void RTPSenderInfo::processRTPPacket RTPPacket packet,
simtime_t  arrivalTime
[virtual]
 

Stores information about this outgoing RTPPacket.

Reimplemented from RTPParticipantInfo.

SenderReport * RTPSenderInfo::senderReport simtime_t  now  )  [virtual]
 

Returns a SenderReport for this rtp endsystem. If it hasn't sent rtp data packets during the last 2 rtcp intervals, it returns NULL.

Reimplemented from RTPParticipantInfo.

void RTPSenderInfo::setClockRate int  clockRate  )  [virtual]
 

Sets the clock rate (in ticks per second) this sender increases the rtp time stamp.

void RTPSenderInfo::setSequenceNumberBase u_int16  sequenceNumberBase  )  [virtual]
 

Sets the initial sequence number.

void RTPSenderInfo::setStartTime simtime_t  startTime  )  [virtual]
 

Sets the time (simTime) when this endsystem has started sending rtp packets.

void RTPSenderInfo::setTimeStampBase u_int32  timeStampBase  )  [virtual]
 

Sets the initial rtp time stamp.

bool RTPSenderInfo::toBeDeleted simtime_t  now  )  [virtual]
 

A sender info shall never be deleted!

Reimplemented from RTPParticipantInfo.


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