TAO_AV_Flow_Handler Class Reference

#include <Transport.h>

Inheritance diagram for TAO_AV_Flow_Handler:

Inheritance graph
[legend]
Collaboration diagram for TAO_AV_Flow_Handler:

Collaboration graph
[legend]
List of all members.

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_Transporttransport (void)
 get the transport.
TAO_AV_Protocol_Objectprotocol_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_Handlerevent_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_Transporttransport_
TAO_AV_Callbackcallback_
TAO_AV_Protocol_Objectprotocol_object_
long timer_id_
ACE_Reactorreactor_
void * timeout_arg_

Constructor & Destructor Documentation

TAO_AV_Flow_Handler::TAO_AV_Flow_Handler void   ) 
 

Constructor.

TAO_AV_Flow_Handler::~TAO_AV_Flow_Handler void   )  [virtual]
 


Member Function Documentation

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.

void TAO_AV_Flow_Handler::protocol_object TAO_AV_Protocol_Object protocol_object  ) 
 

TAO_AV_Protocol_Object * TAO_AV_Flow_Handler::protocol_object void   ) 
 

set/get 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.


Member Data Documentation

TAO_AV_Callback* TAO_AV_Flow_Handler::callback_ [protected]
 

TAO_AV_Protocol_Object* TAO_AV_Flow_Handler::protocol_object_ [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]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:28:21 2005 for TAO_AV by  doxygen 1.4.5