#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.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_EC_Simple_AddrServer::TAO_EC_Simple_AddrServer | ( | CORBA::UShort | port | ) |
Constructor.
TAO_EC_Simple_AddrServer::~TAO_EC_Simple_AddrServer | ( | void | ) | [virtual] |
Destructor.
void TAO_EC_Simple_AddrServer::get_addr | ( | const RtecEventComm::EventHeader & | header, | |
RtecUDPAdmin::UDP_Addr_out | addr | |||
) | [virtual] |
void TAO_EC_Simple_AddrServer::get_address | ( | const RtecEventComm::EventHeader & | header, | |
RtecUDPAdmin::UDP_Address_out | addr | |||
) | [virtual] |
CORBA::UShort TAO_EC_Simple_AddrServer::port_ [private] |