TAO_AV 4.0.1
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
RTCP_Channel_Out Class Reference

The RTCP_Channel_Out class represents a single outgoing data channel, or stream. It keeps track of statistics such as number of packets sent and number of bytes sent. More...

#include <RTCP_Channel.h>

Collaboration diagram for RTCP_Channel_Out:
Collaboration graph
[legend]

Public Member Functions

 RTCP_Channel_Out ()
 Constructor.
 
 ~RTCP_Channel_Out ()
 Destructor.
 
void updateStatistics (RTP_Packet *pkt)
 Update the channel statistics each time an RTP packet is sent.
 
ACE_UINT32 timestamp ()
 Returns the timestamp of the last RTP packet sent.
 
ACE_UINT32 packets_sent ()
 Returns the number of packets sent.
 
ACE_UINT32 octets_sent ()
 Returns the number of octets sent.
 
void cname (const char *cname)
 Sets the canonical name of the source.
 
const char * cname ()
 Returns the canonical name of the source.
 
char active ()
 Returns whether or not this source is active.
 

Private Attributes

ACE_CString cname_
 Holds the canonical name for this channel.
 
char active_
 Flag to indicate whether or not this channel is active.
 
unsigned int seq_num_
 The sequence number of the last RTP packet sent.
 
unsigned int timestamp_
 The timestamp of the last RTP packet sent.
 
unsigned int packets_sent_
 The total number of packets sent.
 
unsigned int octets_sent_
 The total numbef of octets sent.
 

Detailed Description

The RTCP_Channel_Out class represents a single outgoing data channel, or stream. It keeps track of statistics such as number of packets sent and number of bytes sent.

Constructor & Destructor Documentation

◆ RTCP_Channel_Out()

RTCP_Channel_Out::RTCP_Channel_Out ( )

Constructor.

◆ ~RTCP_Channel_Out()

RTCP_Channel_Out::~RTCP_Channel_Out ( )

Destructor.

Member Function Documentation

◆ active()

char RTCP_Channel_Out::active ( )

Returns whether or not this source is active.

◆ cname() [1/2]

const char * RTCP_Channel_Out::cname ( )
inline

Returns the canonical name of the source.

◆ cname() [2/2]

void RTCP_Channel_Out::cname ( const char * cname)
inline

Sets the canonical name of the source.

◆ octets_sent()

ACE_UINT32 RTCP_Channel_Out::octets_sent ( )

Returns the number of octets sent.

◆ packets_sent()

ACE_UINT32 RTCP_Channel_Out::packets_sent ( )

Returns the number of packets sent.

◆ timestamp()

ACE_UINT32 RTCP_Channel_Out::timestamp ( )

Returns the timestamp of the last RTP packet sent.

◆ updateStatistics()

void RTCP_Channel_Out::updateStatistics ( RTP_Packet * pkt)

Update the channel statistics each time an RTP packet is sent.

Member Data Documentation

◆ active_

char RTCP_Channel_Out::active_
private

Flag to indicate whether or not this channel is active.

◆ cname_

ACE_CString RTCP_Channel_Out::cname_
private

Holds the canonical name for this channel.

◆ octets_sent_

unsigned int RTCP_Channel_Out::octets_sent_
private

The total numbef of octets sent.

◆ packets_sent_

unsigned int RTCP_Channel_Out::packets_sent_
private

The total number of packets sent.

◆ seq_num_

unsigned int RTCP_Channel_Out::seq_num_
private

The sequence number of the last RTP packet sent.

◆ timestamp_

unsigned int RTCP_Channel_Out::timestamp_
private

The timestamp of the last RTP packet sent.


The documentation for this class was generated from the following files: