#include <ECG_Simple_Address_Server.h>
Collaboration diagram for TAO_ECG_Simple_Address_Server:

Public Member Functions | |
| virtual | ~TAO_ECG_Simple_Address_Server (void) |
| Destructor. | |
| int | init (const char *arg) |
| virtual void | get_addr (const RtecEventComm::EventHeader &header, RtecUDPAdmin::UDP_Addr_out addr) throw (CORBA::SystemException) |
Static Public Member Functions | |
| TAO_EC_Servant_Var< TAO_ECG_Simple_Address_Server > | create (void) |
Protected Member Functions | |
| TAO_ECG_Simple_Address_Server (void) | |
Private Attributes | |
| ACE_INET_Addr | addr_ |
This simple server always returns multicast address it was initialized with, regardless of the header.
Definition at line 30 of file ECG_Simple_Address_Server.h.
|
|
Destructor.
Definition at line 15 of file ECG_Simple_Address_Server.cpp.
00016 {
00017 }
|
|
|
Constructor (protected). Clients can create new TAO_ECG_Simple_Address_Server objects using the static create() method. Definition at line 11 of file ECG_Simple_Address_Server.cpp.
00012 {
00013 }
|
|
|
Create a new TAO_ECG_Simple_Address_Server object. (Constructor access is restricted to insure that all TAO_ECG_Simple_Address_Server objects are heap-allocated.) Definition at line 8 of file ECG_Simple_Address_Server.i. References ACE_NEW_RETURN. Referenced by TAO_ECG_Mcast_Gateway::init_address_server().
00009 {
00010 TAO_EC_Servant_Var<TAO_ECG_Simple_Address_Server> s;
00011 ACE_NEW_RETURN (s,
00012 TAO_ECG_Simple_Address_Server,
00013 s);
00014 return s;
00015 }
|
|
||||||||||||
|
Definition at line 26 of file ECG_Simple_Address_Server.cpp.
00031 {
00032 // unsigned long
00033 addr.ipaddr = this->addr_.get_ip_address ();
00034 // unsigned short
00035 addr.port = this->addr_.get_port_number ();
00036 }
|
|
|
Definition at line 20 of file ECG_Simple_Address_Server.cpp. References ACE_INET_Addr::set().
|
|
|
Definition at line 59 of file ECG_Simple_Address_Server.h. |
1.3.6