1 #include "tao/ImR_Client/ServerObject_i.h"
2 #include "tao/PortableServer/Root_POA.h"
3 #include "tao/orbconf.h"
5 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
7 ServerObject_i::ServerObject_i (CORBA::ORB_ptr orb
,
8 PortableServer::POA_ptr poa
)
9 : orb_ (CORBA::ORB::_duplicate (orb
)),
10 poa_ (PortableServer::POA::_duplicate (poa
))
15 ServerObject_i::ping ()
20 ServerObject_i::shutdown ()
22 // Note : We want our child POAs to be able to unregister themselves from
23 // the ImR, so we must destroy them before shutting down the orb.
25 this->orb_
->shutdown (false);
28 PortableServer::POA_ptr
29 ServerObject_i::_default_POA ()
31 return PortableServer::POA::_duplicate (this->poa_
.in ());
35 TAO_END_VERSIONED_NAMESPACE_DECL