summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_MT_Mcast/AddrServer.cpp
blob: 50ea5a9002b9befd6401c59581cdaa5ff2e7d56d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// $Id$
// Reused from: $TAO_ROOT/orbsvcs/examples/RtEC/MCast

#include "AddrServer.h"

ACE_RCSID(EC_MT_Mcast,
          AddrServer,
          "$Id$")

AddrServer::AddrServer (const RtecUDPAdmin::UDP_Addr& addr)
  : addr_ (addr)
{
}

void
AddrServer::get_addr (const RtecEventComm::EventHeader&,
                      RtecUDPAdmin::UDP_Addr_out addr
                      ACE_ENV_ARG_DECL_NOT_USED)
    ACE_THROW_SPEC ((CORBA::SystemException))
{
  addr = this->addr_;
}