#include <MCast.h>
Inheritance diagram for TAO_AV_UDP_MCast_Flow_Handler:
Public Member Functions | |
TAO_AV_UDP_MCast_Flow_Handler (void) | |
virtual | ~TAO_AV_UDP_MCast_Flow_Handler (void) |
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) |
ACE_SOCK_Dgram_Mcast * | get_mcast_socket (void) const |
virtual ACE_Event_Handler * | event_handler (void) |
get the underlying event handler. To be overridden by the derived clases. | |
void | set_peer_addr (ACE_INET_Addr *peer_addr) |
Protected Attributes | |
ACE_INET_Addr * | peer_addr_ |
ACE_SOCK_Dgram_Mcast * | dgram_mcast_ |
Definition at line 90 of file MCast.h.
|
Ctor Dtor Definition at line 17 of file MCast.cpp. References ACE_NEW, and dgram_mcast_.
00018 { 00019 ACE_NEW (transport_, 00020 TAO_AV_UDP_MCast_Transport (this)); 00021 ACE_NEW (dgram_mcast_, 00022 ACE_SOCK_Dgram_Mcast); 00023 } |
|
Definition at line 25 of file MCast.cpp. References dgram_mcast_.
00026 { 00027 delete this->transport_; 00028 delete this->dgram_mcast_; 00029 } |
|
get the underlying event handler. To be overridden by the derived clases.
Implements TAO_AV_Flow_Handler. Definition at line 103 of file MCast.h.
00103 { return this; } |
|
Reimplemented from ACE_Event_Handler. Definition at line 47 of file MCast.cpp. References ACE_DEBUG, ACE_IPC_SAP::get_handle(), get_mcast_socket(), LM_DEBUG, and TAO_debug_level.
00048 { 00049 if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG,"TAO_AV_UDP_MCast_Flow_Handler::get_handle ")); 00050 return this->get_mcast_socket ()->get_handle () ; 00051 } |
|
Definition at line 12 of file MCast.i. References dgram_mcast_. Referenced by get_handle(), TAO_AV_UDP_MCast_Transport::get_local_addr(), TAO_AV_UDP_MCast_Transport::recv(), TAO_AV_UDP_MCast_Transport::send(), and TAO_AV_UDP_Connection_Setup::setup().
00013 { 00014 return this->dgram_mcast_; 00015 } |
|
Reimplemented from ACE_Event_Handler. Definition at line 33 of file MCast.cpp. References TAO_AV_Protocol_Object::handle_input().
00034 { 00035 return this->protocol_object_->handle_input (); 00036 // return 0; 00037 } |
|
Reimplemented from ACE_Event_Handler. Definition at line 40 of file MCast.cpp. References TAO_AV_Flow_Handler::handle_timeout().
00042 { 00043 return TAO_AV_Flow_Handler::handle_timeout (tv,arg); 00044 } |
|
Definition at line 54 of file MCast.cpp.
00055 { 00056 this->peer_addr_ = peer_addr; 00057 } |
|
Definition at line 107 of file MCast.h. Referenced by get_mcast_socket(), TAO_AV_UDP_MCast_Flow_Handler(), and ~TAO_AV_UDP_MCast_Flow_Handler(). |
|
|