TAO_AV  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
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
Collaboration diagram for TAO_AV_RTCP_Callback:
Collaboration graph

Public Member Functions

 TAO_AV_RTCP_Callback (void)
 RTCP callback. More...
 
virtual ~TAO_AV_RTCP_Callback (void)
 virtual destructor. More...
 
virtual int handle_start (void)
 Called during Streamctrl->start. More...
 
virtual int handle_stop (void)
 Called during Streamctrl->stop. More...
 
virtual int handle_timeout (void *arg)
 Called during timeout for Flow Producers. More...
 
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. More...
 
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)
 
- Public Member Functions inherited from TAO_AV_Callback
 TAO_AV_Callback (void)
 
virtual ~TAO_AV_Callback (void)
 
int open (TAO_AV_Protocol_Object *object, TAO_AV_Flow_Handler *handler)
 Called for opening the callback. More...
 
virtual int schedule_timer (void)
 
TAO_AV_Protocol_Objectprotocol_object (void)
 Accessor to protocol object. More...
 
virtual TAO_AV_PolicyList get_policies (void)
 get the policies for the protocol object. More...
 

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_
 
- Protected Attributes inherited from TAO_AV_Callback
TAO_AV_Protocol_Objectprotocol_object_
 
TAO_AV_Flow_Handlerhandler_
 

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

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::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.

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_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::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.

void TAO_AV_RTCP_Callback::schedule ( int  ms)
int TAO_AV_RTCP_Callback::send_frame ( ACE_Message_Block frame)
int TAO_AV_RTCP_Callback::send_report ( int  bye)
TAO_AV_RTP_State* TAO_AV_RTCP_Callback::state ( void  )
void TAO_AV_RTCP_Callback::ts_offset ( ACE_UINT32  offset)

Member Data Documentation

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

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