TAO_AV  3.0.0
Public Member Functions | Protected Attributes | List of all members
TAO_AV_Flow_Handler Class Referenceabstract

#include <Transport.h>

Inheritance diagram for TAO_AV_Flow_Handler:
Inheritance graph
[legend]
Collaboration diagram for TAO_AV_Flow_Handler:
Collaboration graph
[legend]

Public Member Functions

 TAO_AV_Flow_Handler (void)
 Constructor. More...
 
virtual ~TAO_AV_Flow_Handler (void)
 
virtual int start (TAO_FlowSpec_Entry::Role role)
 Start/stop the flow handler. More...
 
virtual int stop (TAO_FlowSpec_Entry::Role role)
 
virtual int schedule_timer (void)
 Schedule timer. Uses the get_timeout method on the callback. More...
 
virtual int cancel_timer (void)
 
TAO_AV_Transporttransport (void)
 get the transport. More...
 
TAO_AV_Protocol_Objectprotocol_object (void)
 set/get protocol_object. More...
 
void protocol_object (TAO_AV_Protocol_Object *protocol_object)
 
void callback (TAO_AV_Callback *callback)
 set the callback. More...
 
virtual int handle_timeout (const ACE_Time_Value &tv, const void *arg=0)
 Handle timeout. called from reactor. More...
 
virtual int set_remote_address (ACE_Addr *address)
 set the remote address. More...
 
virtual ACE_Event_Handlerevent_handler (void)=0
 get the underlying event handler. To be overridden by the derived clases. More...
 
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::TAO_AV_Flow_Handler ( void  )

Constructor.

◆ ~TAO_AV_Flow_Handler()

TAO_AV_Flow_Handler::~TAO_AV_Flow_Handler ( void  )
virtual

Member Function Documentation

◆ callback()

void TAO_AV_Flow_Handler::callback ( TAO_AV_Callback callback)

set the callback.

◆ cancel_timer()

int TAO_AV_Flow_Handler::cancel_timer ( void  )
virtual

◆ change_qos()

int TAO_AV_Flow_Handler::change_qos ( AVStreams::QoS  )
virtual

Reimplemented in TAO_AV_UDP_Flow_Handler.

◆ event_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_Flow_Handler, TAO_AV_TCP_Flow_Handler, and TAO_AV_UDP_MCast_Flow_Handler.

◆ handle_timeout()

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_Flow_Handler, TAO_AV_TCP_Flow_Handler, and TAO_AV_UDP_MCast_Flow_Handler.

◆ protocol_object() [1/2]

void TAO_AV_Flow_Handler::protocol_object ( TAO_AV_Protocol_Object protocol_object)

◆ protocol_object() [2/2]

TAO_AV_Protocol_Object * TAO_AV_Flow_Handler::protocol_object ( void  )

set/get protocol_object.

◆ schedule_timer()

int TAO_AV_Flow_Handler::schedule_timer ( void  )
virtual

Schedule timer. Uses the get_timeout method on the callback.

◆ set_remote_address()

int TAO_AV_Flow_Handler::set_remote_address ( ACE_Addr address)
virtual

set the remote address.

Reimplemented in TAO_AV_UDP_Flow_Handler.

◆ start()

int TAO_AV_Flow_Handler::start ( TAO_FlowSpec_Entry::Role  role)
virtual

Start/stop the flow handler.

◆ stop()

int TAO_AV_Flow_Handler::stop ( TAO_FlowSpec_Entry::Role  role)
virtual

◆ transport()

TAO_AV_Transport * TAO_AV_Flow_Handler::transport ( void  )

get the transport.

Member Data Documentation

◆ callback_

TAO_AV_Callback* TAO_AV_Flow_Handler::callback_
protected

◆ protocol_object_

TAO_AV_Protocol_Object* TAO_AV_Flow_Handler::protocol_object_
protected

◆ reactor_

ACE_Reactor* TAO_AV_Flow_Handler::reactor_
protected

◆ timeout_arg_

void* TAO_AV_Flow_Handler::timeout_arg_
protected

◆ timer_id_

long TAO_AV_Flow_Handler::timer_id_
protected

◆ transport_

TAO_AV_Transport* TAO_AV_Flow_Handler::transport_
protected

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