Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / EventServices / RTEC_MCast_Federated / SimpleAddressServer.h
blobd5ba0c603a19b8cf6a2f2e3fb06da7e693fa0519
1 // SimpleAddressServer.h
3 #ifndef SIMPLEADDRESSSERVER_H
4 #define SIMPLEADDRESSSERVER_H
6 #include "orbsvcs/RtecUDPAdminS.h"
8 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
9 class ACE_INET_Addr;
10 ACE_END_VERSIONED_NAMESPACE_DECL
12 class SimpleAddressServer : public POA_RtecUDPAdmin::AddrServer {
13 public:
14 SimpleAddressServer (const ACE_INET_Addr& address);
15 virtual void get_addr (const RtecEventComm::EventHeader& header,
16 RtecUDPAdmin::UDP_Addr& address);
18 virtual void get_address(const RtecEventComm::EventHeader& header,
19 RtecUDPAdmin::UDP_Address& address);
21 private:
22 RtecUDPAdmin::UDP_Address address_;
25 #endif