#include <EC_UDP_Admin.h>
Public Member Functions | |
TAO_EC_Simple_AddrServer (CORBA::UShort port) | |
Constructor. | |
virtual | ~TAO_EC_Simple_AddrServer (void) |
Destructor. | |
virtual void | get_addr (const RtecEventComm::EventHeader &header, RtecUDPAdmin::UDP_Addr_out addr) |
virtual void | get_address (const RtecEventComm::EventHeader &header, RtecUDPAdmin::UDP_Address_out addr) |
Private Attributes | |
CORBA::UShort | port_ |
The EC is able to use multiple multicast groups to transmit its data, the is given control over the mapping between the Event (type,source) pair and the (ipaddr,port) pair using a AddrServer. This class implements a very simple server that simply maps the type component to the ipaddr and uses a fixed port, provided at initialization time.
Definition at line 38 of file EC_UDP_Admin.h.
|
Constructor.
Definition at line 12 of file EC_UDP_Admin.cpp.
00013 : port_ (port) 00014 { 00015 } |
|
Destructor.
Definition at line 17 of file EC_UDP_Admin.cpp.
00018 { 00019 } |
|
Definition at line 22 of file EC_UDP_Admin.cpp. References RtecEventComm::EventHeader::type.
|
|
Definition at line 31 of file EC_UDP_Admin.cpp. References RtecUDPAdmin::UDP_Addr::ipaddr, RtecUDPAdmin::UDP_Addr::port, and RtecEventComm::EventHeader::type.
00033 { 00034 RtecUDPAdmin::UDP_Addr v4; 00035 v4.ipaddr = header.type; 00036 v4.port = this->port_; 00037 addr.v4_addr(v4); 00038 } |
|
Definition at line 55 of file EC_UDP_Admin.h. |