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_UDP_Flow_Handler Class Reference

Flow Handler for UDP flows. More...

#include <UDP.h>

Inheritance diagram for TAO_AV_UDP_Flow_Handler:
Inheritance graph
Collaboration diagram for TAO_AV_UDP_Flow_Handler:
Collaboration graph

Public Member Functions

 TAO_AV_UDP_Flow_Handler (void)
 
virtual ~TAO_AV_UDP_Flow_Handler (void)
 
int open (ACE_Addr &address)
 
int close (void)
 
virtual TAO_AV_Transporttransport (void)
 
virtual int set_remote_address (ACE_Addr *address)
 set the remote address. More...
 
virtual ACE_HANDLE get_handle (void) const
 
virtual int handle_input (ACE_HANDLE fd)
 
virtual int handle_timeout (const ACE_Time_Value &tv, const void *arg=0)
 Handle timeout. called from reactor. More...
 
const ACE_SOCK_Dgramget_socket (void) const
 
virtual ACE_Event_Handlerevent_handler (void)
 get the underlying event handler. To be overridden by the derived clases. More...
 
virtual int change_qos (AVStreams::QoS)
 Change the QoS. More...
 
- Public Member Functions inherited from TAO_AV_Flow_Handler
 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...
 

Protected Attributes

TAO_AV_Coreav_core_
 
ACE_INET_Addr peer_addr_
 
ACE_SOCK_Dgram sock_dgram_
 
- Protected Attributes inherited from TAO_AV_Flow_Handler
TAO_AV_Transporttransport_
 
TAO_AV_Callbackcallback_
 
TAO_AV_Protocol_Objectprotocol_object_
 
long timer_id_
 
ACE_Reactorreactor_
 
void * timeout_arg_
 

Detailed Description

Flow Handler for UDP flows.

Constructor & Destructor Documentation

TAO_AV_UDP_Flow_Handler::TAO_AV_UDP_Flow_Handler ( void  )

Ctor Dtor

TAO_AV_UDP_Flow_Handler::~TAO_AV_UDP_Flow_Handler ( void  )
virtual

Member Function Documentation

int TAO_AV_UDP_Flow_Handler::change_qos ( AVStreams::QoS  qos)
virtual

Change the QoS.

Reimplemented from TAO_AV_Flow_Handler.

int TAO_AV_UDP_Flow_Handler::close ( void  )
virtual ACE_Event_Handler* TAO_AV_UDP_Flow_Handler::event_handler ( void  )
inlinevirtual

get the underlying event handler. To be overridden by the derived clases.

Implements TAO_AV_Flow_Handler.

ACE_HANDLE TAO_AV_UDP_Flow_Handler::get_handle ( void  ) const
virtual
const ACE_SOCK_Dgram * TAO_AV_UDP_Flow_Handler::get_socket ( void  ) const
int TAO_AV_UDP_Flow_Handler::handle_input ( ACE_HANDLE  fd)
virtual
int TAO_AV_UDP_Flow_Handler::handle_timeout ( const ACE_Time_Value tv,
const void *  arg = 0 
)
virtual

Handle timeout. called from reactor.

Reimplemented from TAO_AV_Flow_Handler.

int TAO_AV_UDP_Flow_Handler::open ( ACE_Addr address)
int TAO_AV_UDP_Flow_Handler::set_remote_address ( ACE_Addr address)
virtual

set the remote address.

Reimplemented from TAO_AV_Flow_Handler.

TAO_AV_Transport * TAO_AV_UDP_Flow_Handler::transport ( void  )
virtual

Member Data Documentation

TAO_AV_Core* TAO_AV_UDP_Flow_Handler::av_core_
protected
ACE_INET_Addr TAO_AV_UDP_Flow_Handler::peer_addr_
protected
ACE_SOCK_Dgram TAO_AV_UDP_Flow_Handler::sock_dgram_
protected

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