diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-18 09:07:14 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-18 09:07:14 +0000 |
commit | 685cbd31f0c2b28e550cff1226b6dea3f3150136 (patch) | |
tree | 91ba7fc4584511f31379702bdcf543da966f7f78 /TAO/tao/ImR_Client/ServerObject_i.cpp | |
parent | 872553f0d5680b863cd6b1948c68ca20a7269e46 (diff) | |
download | ATCD-685cbd31f0c2b28e550cff1226b6dea3f3150136.tar.gz |
ChangeLogTag: Fri Feb 18 17:04:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/ImR_Client/ServerObject_i.cpp')
-rw-r--r-- | TAO/tao/ImR_Client/ServerObject_i.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/TAO/tao/ImR_Client/ServerObject_i.cpp b/TAO/tao/ImR_Client/ServerObject_i.cpp new file mode 100644 index 00000000000..fad07c11dca --- /dev/null +++ b/TAO/tao/ImR_Client/ServerObject_i.cpp @@ -0,0 +1,37 @@ +// $Id$ + +#include "tao/orbconf.h" + +/// +/// ImplRepo related. +/// + +#include "tao/ImR_Client/ServerObject_i.h" + +ServerObject_i::ServerObject_i (CORBA::ORB_ptr orb, + PortableServer::POA_ptr poa) + : orb_ (CORBA::ORB::_duplicate (orb)), + poa_ (PortableServer::POA::_duplicate (poa)) +{ +} + +void +ServerObject_i::ping (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ +} + +void +ServerObject_i::shutdown (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER); + ACE_CHECK; +} + +PortableServer::POA_ptr +ServerObject_i::_default_POA (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) +{ + return PortableServer::POA::_duplicate (this->poa_.in ()); +} + |