Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / examples / Load_Balancing_persistent / Identity_i.cpp
blob10be44939a27bd8aeea8655cd0030bf3f355bac6
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 (void)
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 (void)
34 return PortableServer::POA::_duplicate (this->poa_.in ());