TAO_AV 2.0.5
|
#include <Transport.h>
Public Member Functions | |
TAO_AV_Flow_Handler (void) | |
Constructor. | |
virtual | ~TAO_AV_Flow_Handler (void) |
virtual int | start (TAO_FlowSpec_Entry::Role role) |
Start/stop the flow handler. | |
virtual int | stop (TAO_FlowSpec_Entry::Role role) |
virtual int | schedule_timer (void) |
Schedule timer. Uses the get_timeout method on the callback. | |
virtual int | cancel_timer (void) |
TAO_AV_Transport * | transport (void) |
get the transport. | |
TAO_AV_Protocol_Object * | protocol_object (void) |
set/get protocol_object. | |
void | protocol_object (TAO_AV_Protocol_Object *protocol_object) |
void | callback (TAO_AV_Callback *callback) |
set the callback. | |
virtual int | handle_timeout (const ACE_Time_Value &tv, const void *arg=0) |
Handle timeout. called from reactor. | |
virtual int | set_remote_address (ACE_Addr *address) |
set the remote address. | |
virtual ACE_Event_Handler * | event_handler (void)=0 |
get the underlying event handler. To be overridden by the derived clases. | |
virtual int | change_qos (AVStreams::QoS) |
Protected Attributes | |
TAO_AV_Transport * | transport_ |
TAO_AV_Callback * | callback_ |
TAO_AV_Protocol_Object * | protocol_object_ |
long | timer_id_ |
ACE_Reactor * | reactor_ |
void * | timeout_arg_ |
TAO_AV_Flow_Handler::TAO_AV_Flow_Handler | ( | void | ) |
Constructor.
TAO_AV_Flow_Handler::~TAO_AV_Flow_Handler | ( | void | ) | [virtual] |
void TAO_AV_Flow_Handler::callback | ( | TAO_AV_Callback * | callback | ) |
set the callback.
int TAO_AV_Flow_Handler::cancel_timer | ( | void | ) | [virtual] |
int TAO_AV_Flow_Handler::change_qos | ( | AVStreams::QoS | ) | [virtual] |
Reimplemented in TAO_AV_UDP_Flow_Handler.
virtual ACE_Event_Handler* TAO_AV_Flow_Handler::event_handler | ( | void | ) | [pure virtual] |
get the underlying event handler. To be overridden by the derived clases.
Implemented in TAO_AV_UDP_MCast_Flow_Handler, TAO_AV_TCP_Flow_Handler, and TAO_AV_UDP_Flow_Handler.
int TAO_AV_Flow_Handler::handle_timeout | ( | const ACE_Time_Value & | tv, |
const void * | arg = 0 |
||
) | [virtual] |
Handle timeout. called from reactor.
Reimplemented in TAO_AV_UDP_MCast_Flow_Handler, TAO_AV_TCP_Flow_Handler, and TAO_AV_UDP_Flow_Handler.
TAO_AV_Protocol_Object * TAO_AV_Flow_Handler::protocol_object | ( | void | ) |
set/get protocol_object.
void TAO_AV_Flow_Handler::protocol_object | ( | TAO_AV_Protocol_Object * | protocol_object | ) |
int TAO_AV_Flow_Handler::schedule_timer | ( | void | ) | [virtual] |
Schedule timer. Uses the get_timeout method on the callback.
int TAO_AV_Flow_Handler::set_remote_address | ( | ACE_Addr * | address | ) | [virtual] |
set the remote address.
Reimplemented in TAO_AV_UDP_Flow_Handler.
int TAO_AV_Flow_Handler::start | ( | TAO_FlowSpec_Entry::Role | role | ) | [virtual] |
Start/stop the flow handler.
int TAO_AV_Flow_Handler::stop | ( | TAO_FlowSpec_Entry::Role | role | ) | [virtual] |
TAO_AV_Transport * TAO_AV_Flow_Handler::transport | ( | void | ) |
get the transport.
Reimplemented in TAO_AV_TCP_Flow_Handler, and TAO_AV_UDP_Flow_Handler.
TAO_AV_Callback* TAO_AV_Flow_Handler::callback_ [protected] |
ACE_Reactor* TAO_AV_Flow_Handler::reactor_ [protected] |
void* TAO_AV_Flow_Handler::timeout_arg_ [protected] |
long TAO_AV_Flow_Handler::timer_id_ [protected] |
TAO_AV_Transport* TAO_AV_Flow_Handler::transport_ [protected] |