00001 // EC_UDP_Admin.cpp,v 1.7 2005/11/10 06:47:24 ossama Exp 00002 00003 #include "orbsvcs/Event/EC_UDP_Admin.h" 00004 00005 ACE_RCSID (Event, 00006 EC_UDP_Admin, 00007 "EC_UDP_Admin.cpp,v 1.7 2005/11/10 06:47:24 ossama Exp") 00008 00009 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00010 00011 TAO_EC_Simple_AddrServer::TAO_EC_Simple_AddrServer (CORBA::UShort port) 00012 : port_ (port) 00013 { 00014 } 00015 00016 TAO_EC_Simple_AddrServer::~TAO_EC_Simple_AddrServer (void) 00017 { 00018 } 00019 00020 void 00021 TAO_EC_Simple_AddrServer::get_addr (const RtecEventComm::EventHeader& header, 00022 RtecUDPAdmin::UDP_Addr_out addr 00023 ACE_ENV_ARG_DECL_NOT_USED) 00024 ACE_THROW_SPEC ((CORBA::SystemException)) 00025 { 00026 addr.ipaddr = header.type; 00027 addr.port = this->port_; 00028 } 00029 00030 TAO_END_VERSIONED_NAMESPACE_DECL