This is an abstract class from which all RTCP packet types are derived. It contains code used to validate the RTCP packet.
More...
#include <RTCP_Packet.h>
Public Member Functions |
| RTCP_Packet (void) |
| Constructor for outgoing RTCP packets.
|
| RTCP_Packet (char *buffer) |
| Constructor for incoming RTCP packets.
|
virtual | ~RTCP_Packet () |
| Destructor.
|
void | get_packet_data (char **buffer, ACE_UINT16 &length) |
| Returns a pointer to a local buffer containing the packet.
|
virtual unsigned int | packet_size (void)=0 |
int | is_valid (char is_first) |
Protected Member Functions |
virtual void | build_packet (void)=0 |
Detailed Description
This is an abstract class from which all RTCP packet types are derived. It contains code used to validate the RTCP packet.
Constructor & Destructor Documentation
RTCP_Packet::RTCP_Packet |
( |
void |
| ) |
|
Constructor for outgoing RTCP packets.
RTCP_Packet::RTCP_Packet |
( |
char * |
buffer | ) |
|
Constructor for incoming RTCP packets.
RTCP_Packet::~RTCP_Packet |
( |
void |
| ) |
|
|
virtual |
Member Function Documentation
virtual void RTCP_Packet::build_packet |
( |
void |
| ) |
|
|
protectedpure virtual |
Used to create the byte representation of the RTCP packet. Defined in child class.
void RTCP_Packet::get_packet_data |
( |
char ** |
buffer, |
|
|
ACE_UINT16 & |
length |
|
) |
| |
Returns a pointer to a local buffer containing the packet.
int RTCP_Packet::is_valid |
( |
char |
is_first | ) |
|
Checks the validity of an RTCP packet. RTCP packets can be sent together in a compound packet and is_first indicates the first packet in a compound packet
virtual unsigned int RTCP_Packet::packet_size |
( |
void |
| ) |
|
|
pure virtual |
Member Data Documentation
Header data common to all RTCP packets.
char* RTCP_Packet::packet_data_ |
|
protected |
Buffer to hold byte representation of the RTCP packet.
The documentation for this class was generated from the following files: