Flow Handler for data sent over multicast sockets. More...
#include <MCast.h>
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) |
void | set_peer_addr (ACE_INET_Addr *peer_addr) |
Protected Attributes | |
ACE_INET_Addr * | peer_addr_ |
ACE_SOCK_Dgram_Mcast * | dgram_mcast_ |
Flow Handler for data sent over multicast sockets.
Definition at line 90 of file MCast.h.
TAO_AV_UDP_MCast_Flow_Handler::TAO_AV_UDP_MCast_Flow_Handler | ( | void | ) |
Ctor Dtor
Definition at line 17 of file MCast.cpp.
{ ACE_NEW (transport_, TAO_AV_UDP_MCast_Transport (this)); ACE_NEW (dgram_mcast_, ACE_SOCK_Dgram_Mcast); }
TAO_AV_UDP_MCast_Flow_Handler::~TAO_AV_UDP_MCast_Flow_Handler | ( | void | ) | [virtual] |
Definition at line 25 of file MCast.cpp.
{ delete this->transport_; delete this->dgram_mcast_; }
virtual ACE_Event_Handler* TAO_AV_UDP_MCast_Flow_Handler::event_handler | ( | void | ) | [inline, virtual] |
ACE_HANDLE TAO_AV_UDP_MCast_Flow_Handler::get_handle | ( | void | ) | const [virtual] |
Reimplemented from ACE_Event_Handler.
Definition at line 47 of file MCast.cpp.
{ if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG,"TAO_AV_UDP_MCast_Flow_Handler::get_handle ")); return this->get_mcast_socket ()->get_handle () ; }
ACE_SOCK_Dgram_Mcast * TAO_AV_UDP_MCast_Flow_Handler::get_mcast_socket | ( | void | ) | const |
Definition at line 12 of file MCast.inl.
{ return this->dgram_mcast_; }
int TAO_AV_UDP_MCast_Flow_Handler::handle_input | ( | ACE_HANDLE | fd | ) | [virtual] |
Reimplemented from ACE_Event_Handler.
Definition at line 33 of file MCast.cpp.
{ return this->protocol_object_->handle_input (); // return 0; }
int TAO_AV_UDP_MCast_Flow_Handler::handle_timeout | ( | const ACE_Time_Value & | tv, | |
const void * | arg = 0 | |||
) | [virtual] |
Reimplemented from ACE_Event_Handler.
Definition at line 40 of file MCast.cpp.
{ return TAO_AV_Flow_Handler::handle_timeout (tv,arg); }
void TAO_AV_UDP_MCast_Flow_Handler::set_peer_addr | ( | ACE_INET_Addr * | peer_addr | ) |
Definition at line 54 of file MCast.cpp.
{ this->peer_addr_ = peer_addr; }
ACE_INET_Addr* TAO_AV_UDP_MCast_Flow_Handler::peer_addr_ [protected] |