diff options
Diffstat (limited to 'TAO/tests/POA/Generic_Servant/MyFooServant.cpp')
-rw-r--r-- | TAO/tests/POA/Generic_Servant/MyFooServant.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/TAO/tests/POA/Generic_Servant/MyFooServant.cpp b/TAO/tests/POA/Generic_Servant/MyFooServant.cpp deleted file mode 100644 index 29e6a02c3f7..00000000000 --- a/TAO/tests/POA/Generic_Servant/MyFooServant.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// $Id$ - -//=============================================================================== -// -// -// = FILENAME -// MyFooServant.cpp -// -// = DESCRIPTION -// This is a simple foo servant implementation -// -// = AUTHOR -// Irfan Pyarali -// -//================================================================================== - -#include "MyFooServant.h" - -// Constructor -MyFooServant::MyFooServant (PortableServer::POA_ptr poa, - CORBA::Long value) - : poa_ (PortableServer::POA::_duplicate (poa)), - value_ (value) -{ -} - -// Destructor -MyFooServant::~MyFooServant (void) -{ -} - -// Return the Default POA of this Servant -PortableServer::POA_ptr -MyFooServant::_default_POA (CORBA::Environment &/*env*/) -{ - return PortableServer::POA::_duplicate (this->poa_.in()); -} - -// Return this->value -CORBA::Long -MyFooServant::doit (CORBA::Environment &/*env*/) -{ - return this->value_; -} |