TAO_AV
2.1.6
|
Callback class that the user will be implementing for receiving frames from the network and also for timer events. More...
#include <Policy.h>
Public Member Functions | |
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. | |
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 | schedule_timer (void) |
virtual int | receive_frame (ACE_Message_Block *frame, TAO_AV_frame_info *frame_info=0, const ACE_Addr &address=ACE_Addr::sap_any) |
virtual int | receive_control_frame (ACE_Message_Block *frame, const ACE_Addr &address=ACE_Addr::sap_any) |
address from which the frame was received. | |
virtual int | handle_destroy (void) |
Called during Streamctrl->destroy i.e tear_down of the stream. | |
virtual void | get_timeout (ACE_Time_Value *&tv, void *&arg) |
TAO_AV_Protocol_Object * | protocol_object (void) |
Accessor to protocol object. | |
virtual TAO_AV_PolicyList | get_policies (void) |
get the policies for the protocol object. |
Protected Attributes | |
TAO_AV_Protocol_Object * | protocol_object_ |
TAO_AV_Flow_Handler * | handler_ |
Callback class that the user will be implementing for receiving frames from the network and also for timer events.
TAO_AV_Callback::TAO_AV_Callback | ( | void | ) |
|
virtual |
|
virtual |
get the policies for the protocol object.
|
virtual |
Called to get the timeout. If tv is 0 then the framework stop calling this. This will be called during the start of the frame and also if schedule_timer is called to get the timeout.
Reimplemented in TAO_AV_RTCP_Callback.
|
virtual |
Called during Streamctrl->destroy i.e tear_down of the stream.
Reimplemented in TAO_AV_RTCP_Callback.
|
virtual |
Called during Streamctrl->start.
Reimplemented in TAO_AV_RTCP_Callback.
|
virtual |
Called during Streamctrl->stop.
Reimplemented in TAO_AV_RTCP_Callback.
|
virtual |
Called during timeout for Flow Producers.
Reimplemented in TAO_AV_RTCP_Callback.
int TAO_AV_Callback::open | ( | TAO_AV_Protocol_Object * | object, |
TAO_AV_Flow_Handler * | handler | ||
) |
Called for opening the callback.
TAO_AV_Protocol_Object * TAO_AV_Callback::protocol_object | ( | void | ) |
Accessor to protocol object.
|
virtual |
address from which the frame was received.
Reimplemented in TAO_AV_RTCP_Callback.
|
virtual |
Reimplemented in TAO_AV_RTCP_Callback.
|
virtual |
|
protected |
|
protected |