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

MNRTCPPacket_SR Class Reference

#include <MNRTCPPacket.h>

Inheritance diagram for MNRTCPPacket_SR:

Inheritance graph
[legend]
Collaboration diagram for MNRTCPPacket_SR:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MNRTCPPacket_SR (u_int16 count, u_int32 ssrc, const ntp64 &now, u_int32 rtp_timestamp, u_int32 packets_sent, u_int32 octets_sent)
void init (u_int16 count, u_int32 ssrc, const ntp64 &now, u_int32 rtp_timestamp, u_int32 packets_sent, u_int32 octets_sent)
virtual bool isA (SH::Report::ID id) const
 type identification
virtual void write_to_buffer (u_int8 *buffer, size_t len) const
virtual void dump (ostream &ostr) const
u_int32 getNTPUpper ()
u_int32 getNTPLower ()
u_int32 getRTPTimestamp ()

Static Public Attributes

SH::Report::ID Id
 type identification

Protected Member Functions

 MNRTCPPacket_SR ()

Constructor & Destructor Documentation

MNRTCPPacket_SR::MNRTCPPacket_SR  )  [inline, protected]
 

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

MNRTCPPacket_SR::MNRTCPPacket_SR u_int16  count,
u_int32  ssrc,
const ntp64 now,
u_int32  rtp_timestamp,
u_int32  packets_sent,
u_int32  octets_sent
 


Member Function Documentation

virtual void MNRTCPPacket_SR::dump ostream &  ostr  )  const [virtual]
 

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

Reimplemented from MNRTCPPacket.

u_int32 MNRTCPPacket_SR::getNTPLower  )  [inline]
 

u_int32 MNRTCPPacket_SR::getNTPUpper  )  [inline]
 

u_int32 MNRTCPPacket_SR::getRTPTimestamp  )  [inline]
 

void MNRTCPPacket_SR::init u_int16  count,
u_int32  ssrc,
const ntp64 now,
u_int32  rtp_timestamp,
u_int32  packets_sent,
u_int32  octets_sent
 

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

type identification

Reimplemented from MNRTCPPacket.

virtual void MNRTCPPacket_SR::write_to_buffer u_int8 buffer,
size_t  len
const [virtual]
 

Reimplemented from MNRTCPPacket.


Member Data Documentation

SH::Report::ID MNRTCPPacket_SR::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