Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / examples / Load_Balancing_persistent / Identity_i.cpp
blobc1e8c37dd2eaf58524b0d8976f20bfa868134357
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file Identity_i.cpp
6 * Implements the interface in Identity.idl.
8 * @author Marina Spivak <marina@cs.wustl.edu>
9 */
10 //=============================================================================
12 #include "Identity_i.h"
14 Identity_i::Identity_i (const char *name,
15 PortableServer::POA_ptr poa)
16 : name_ (name),
17 poa_ (PortableServer::POA::_duplicate (poa))
21 Identity_i::~Identity_i ()
25 void
26 Identity_i::get_name (CORBA::String_out name)
28 name = this->name_.in ();
31 PortableServer::POA_ptr
32 Identity_i::_default_POA ()
34 return PortableServer::POA::_duplicate (this->poa_.in ());