// AddrServer.cpp,v 1.1 2002/10/28 17:40:26 okellogg Exp
// Reused from: $TAO_ROOT/orbsvcs/examples/RtEC/MCast

#include "AddrServer.h"

ACE_RCSID(EC_MT_Mcast,
          AddrServer,
          "AddrServer.cpp,v 1.1 2002/10/28 17:40:26 okellogg Exp")

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_;
}
