#include <RTCP_Packet.h>
Inheritance diagram for RTCP_Packet:
Public Methods | |
RTCP_Packet (void) | |
Constructor for outgoing RTCP packets. More... | |
RTCP_Packet (char *buffer) | |
Constructor for incoming RTCP packets. More... | |
virtual | ~RTCP_Packet ()=0 |
Destructor. More... | |
void | get_packet_data (char **buffer, ACE_UINT16 &length) |
Returns a pointer to a local buffer containing the packet. More... | |
virtual unsigned int | packet_size (void)=0 |
Returns the size of the packet. Defined in child class. More... | |
int | 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. More... | |
Protected Methods | |
virtual void | build_packet (void)=0 |
Used to create the byte representation of the RTCP packet. Defined in child class. More... | |
Protected Attributes | |
RTCP_Common_Header | chd_ |
Header data common to all RTCP packets. More... | |
char * | packet_data_ |
Buffer to hold byte representation of the RTCP packet. More... |
|
Constructor for outgoing RTCP packets.
|
|
Constructor for incoming RTCP packets.
|
|
Destructor.
|
|
Used to create the byte representation of the RTCP packet. Defined in child class.
Reimplemented in RTCP_BYE_Packet, RTCP_RR_Packet, RTCP_SDES_Packet, and RTCP_SR_Packet. |
|
Returns a pointer to a local buffer containing the packet.
|
|
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.
|
|
Returns the size of the packet. Defined in child class.
Reimplemented in RTCP_BYE_Packet, RTCP_RR_Packet, RTCP_SDES_Packet, and RTCP_SR_Packet. |
|
Header data common to all RTCP packets.
|
|
Buffer to hold byte representation of the RTCP packet.
|