Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MNRTCPPacket_APP Class Reference

#include <MNRTCPPacket.h>

Inheritance diagram for MNRTCPPacket_APP:

Inheritance graph
[legend]
Collaboration diagram for MNRTCPPacket_APP:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MNRTCPPacket_APP (u_int8 subtype, u_int16 nb_byte_pl, u_int32 ssrc, const char *name, u_int32 *pl)
void init (u_int8 subtype, u_int16 nb_byte_pl, u_int32 ssrc, const char *name, u_int32 *pl)
virtual bool isA (SH::Report::ID id) const
 type identification
virtual ~MNRTCPPacket_APP ()
virtual void write_to_buffer (u_int8 *buffer, size_t len) const
u_int32 getSSrc ()
char * getName ()
u_int32 * getPayload ()
virtual void dump (ostream &ostr) const

Static Public Attributes

SH::Report::ID Id
 type identification

Protected Member Functions

 MNRTCPPacket_APP ()

Constructor & Destructor Documentation

MNRTCPPacket_APP::MNRTCPPacket_APP (   )  [inline, protected]
 

Calling the parent class and called by SH::ReportFactory. Actual initialization is performed in init().

MNRTCPPacket_APP::MNRTCPPacket_APP (  u_int8  subtype,
u_int16  nb_byte_pl,
u_int32  ssrc,
const char *  name,
u_int32 *  pl
) 
 

virtual MNRTCPPacket_APP::~MNRTCPPacket_APP (   )  [virtual]
 


Member Function Documentation

virtual void MNRTCPPacket_APP::dump (  ostream &  ostr  )  const [virtual]
 

This function is called by the operator<< and must be overloaded by all child classes.

Reimplemented from MNRTCPPacket.

char* MNRTCPPacket_APP::getName (   )  [inline]
 

u_int32* MNRTCPPacket_APP::getPayload (   )  [inline]
 

u_int32 MNRTCPPacket_APP::getSSrc (   )  [inline]
 

void MNRTCPPacket_APP::init (  u_int8  subtype,
u_int16  nb_byte_pl,
u_int32  ssrc,
const char *  name,
u_int32 *  pl
) 
 

Parameters:
subtype 
nb_byte_pl 
ssrc 
name A name for the application that generates this app-specific RTCP packet. Must have at most 4 characters.
pl 

virtual bool MNRTCPPacket_APP::isA (  SH::Report::ID  id  )  const [virtual]
 

type identification

Reimplemented from MNRTCPPacket.

virtual void MNRTCPPacket_APP::write_to_buffer (  u_int8 *  buffer,
size_t  len
)  const [virtual]
 

Reimplemented from MNRTCPPacket.


Member Data Documentation

SH::Report::ID MNRTCPPacket_APP::Id [static]
 

type identification

Reimplemented from MNRTCPPacket.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:35:59 2005 for Komssys by doxygen 1.3.8