summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/Generic_Servant/MyFooServant.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/Generic_Servant/MyFooServant.cpp')
-rw-r--r--TAO/examples/POA/Generic_Servant/MyFooServant.cpp58
1 files changed, 0 insertions, 58 deletions
diff --git a/TAO/examples/POA/Generic_Servant/MyFooServant.cpp b/TAO/examples/POA/Generic_Servant/MyFooServant.cpp
deleted file mode 100644
index b01a03271c0..00000000000
--- a/TAO/examples/POA/Generic_Servant/MyFooServant.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-// $Id$
-
-// ================================================================
-//
-//
-// = FILENAME
-// MyFooServant.cpp
-//
-// = DESCRIPTION
-// This is a simple foo servant implementation
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-// ================================================================
-
-#include "MyFooServant.h"
-
-ACE_RCSID(Generic_Servant, MyFooServant, "$Id$")
-
-// Constructor
-MyFooServant::MyFooServant (CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa,
- CORBA::Long value)
- : orb_ (CORBA::ORB::_duplicate (orb)),
- 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 ());
-}
-
-CORBA::Long
-MyFooServant::doit (CORBA::Environment &/*env*/)
-{
- return this->value_;
-}
-
-void
-MyFooServant::simply_doit (CORBA::Environment &/*env*/)
-{
-}
-
-void
-MyFooServant::shutdown (CORBA::Environment &env)
-{
- this->orb_->shutdown ();
-}