TAO_AV_RTCP_Callback Class Reference

TAO_AV_Callback for RTCP protocol. More...

#include <RTCP.h>

Inheritance diagram for TAO_AV_RTCP_Callback:

Inheritance graph
[legend]
Collaboration diagram for TAO_AV_RTCP_Callback:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_AV_RTCP_Callback (void)
 RTCP callback.
virtual ~TAO_AV_RTCP_Callback (void)
 virtual destructor.
virtual int handle_start (void)
 Called during Streamctrl->start.
virtual int handle_stop (void)
 Called during Streamctrl->stop.
virtual int handle_timeout (void *arg)
 Called during timeout for Flow Producers.
virtual int receive_frame (ACE_Message_Block *frame, TAO_AV_frame_info *frame_info=0, const ACE_Addr &peer_address=ACE_Addr::sap_any)
 Called when a frame arrives for a FlowConsumer.
int send_frame (ACE_Message_Block *frame)
virtual int receive_control_frame (ACE_Message_Block *frame, const ACE_Addr &peer_address=ACE_Addr::sap_any)
virtual int handle_destroy (void)
virtual void get_timeout (ACE_Time_Value *&tv, void *&arg)
int send_report (int bye)
void schedule (int ms)
TAO_AV_RTP_State * state (void)
void ts_offset (ACE_UINT32 offset)

Protected Attributes

ACE_Hash_Map_Manager
< ACE_UINT32, RTCP_Channel_In
*, ACE_Null_Mutex
inputs_
RTCP_Channel_Out output_
int timeout_
int timestamp_offset_
int sdes_count_
int is_initial_timeout_
int avg_rtcp_size_
int packet_size_


Detailed Description

TAO_AV_Callback for RTCP protocol.

Constructor & Destructor Documentation

TAO_AV_RTCP_Callback::TAO_AV_RTCP_Callback ( void   ) 

RTCP callback.

TAO_AV_RTCP_Callback::~TAO_AV_RTCP_Callback ( void   )  [virtual]

virtual destructor.


Member Function Documentation

int TAO_AV_RTCP_Callback::handle_start ( void   )  [virtual]

Called during Streamctrl->start.

Reimplemented from TAO_AV_Callback.

int TAO_AV_RTCP_Callback::handle_stop ( void   )  [virtual]

Called during Streamctrl->stop.

Reimplemented from TAO_AV_Callback.

int TAO_AV_RTCP_Callback::handle_timeout ( void *  arg  )  [virtual]

Called during timeout for Flow Producers.

Reimplemented from TAO_AV_Callback.

int TAO_AV_RTCP_Callback::receive_frame ( ACE_Message_Block frame,
TAO_AV_frame_info frame_info = 0,
const ACE_Addr peer_address = ACE_Addr::sap_any 
) [virtual]

Called when a frame arrives for a FlowConsumer.

Reimplemented from TAO_AV_Callback.

int TAO_AV_RTCP_Callback::send_frame ( ACE_Message_Block frame  ) 

TAO_BEGIN_VERSIONED_NAMESPACE_DECL int TAO_AV_RTCP_Callback::receive_control_frame ( ACE_Message_Block data,
const ACE_Addr peer_address = ACE_Addr::sap_any 
) [virtual]

Copyright (c) 1994-1995 Regents of the University of California. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the University of California, Berkeley and the Network Research Group at Lawrence Berkeley Laboratory. 4. Neither the name of the University nor of the Laboratory may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Reimplemented from TAO_AV_Callback.

int TAO_AV_RTCP_Callback::handle_destroy ( void   )  [virtual]

Called during Streamctrl->destroy i.e tear_down of the stream @coryan:Call it handle_destroy or handle_close.

Reimplemented from TAO_AV_Callback.

void TAO_AV_RTCP_Callback::get_timeout ( ACE_Time_Value *&  tv,
void *&  arg 
) [virtual]

Called to get the timeout. If tv is 0 then the framework stop calling this.

Reimplemented from TAO_AV_Callback.

int TAO_AV_RTCP_Callback::send_report ( int  bye  ) 

void TAO_AV_RTCP_Callback::schedule ( int  ms  ) 

TAO_AV_RTP_State* TAO_AV_RTCP_Callback::state ( void   ) 

void TAO_AV_RTCP_Callback::ts_offset ( ACE_UINT32  offset  ) 


Member Data Documentation


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

Generated on Mon Sep 15 08:34:21 2008 for TAO_AV by  doxygen 1.5.5