summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/EC_UDP_Admin.cpp
blob: d45ce1002ab062fa1d1a838ba6b677850a2a53ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// $Id$

#include "orbsvcs/Event/EC_UDP_Admin.h"

ACE_RCSID(Event, EC_UDP_Admin, "$Id$")

TAO_EC_Simple_AddrServer::TAO_EC_Simple_AddrServer (CORBA::UShort port)
  : port_ (port)
{
}

TAO_EC_Simple_AddrServer::~TAO_EC_Simple_AddrServer (void)
{
}

void
TAO_EC_Simple_AddrServer::get_addr (const RtecEventComm::EventHeader& header,
					  RtecUDPAdmin::UDP_Addr_out addr,
					  CORBA::Environment&)
{
  addr.ipaddr = header.type;
  addr.port = this->port_;
}