diff options
Diffstat (limited to 'TAO/examples/POA/On_Demand_Activation/Servant_Activator.h')
-rw-r--r-- | TAO/examples/POA/On_Demand_Activation/Servant_Activator.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h b/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h deleted file mode 100644 index bdf0fdda78a..00000000000 --- a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h +++ /dev/null @@ -1,45 +0,0 @@ -// $Id$ - -//================================================================================= -// -// = LIBRARY -// TAO/tests/POA/On_Demand_Activation/Servant_Activator -// -// = FILENAME -// Servant_Activator.h -// -// = DESCRIPTION -// Defines a MyFooServantActivator class. -// -// = AUTHOR -// Irfan Pyarali -// -//================================================================================== - -#include "tao/corba.h" - -class MyFooServantActivator : public POA_PortableServer::ServantActivator -{ -public: - MyFooServantActivator (CORBA::ORB_ptr orb); - - virtual PortableServer::Servant incarnate (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - CORBA::Environment &env); - // This method is invoked by a POA with USE_SERVANT_MANAGER and - // RETAIN policies , whenever it receives a request for a MyFoo - // object that is not currently active. - - virtual void etherealize (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr adapter, - PortableServer::Servant servant, - CORBA::Boolean cleanup_in_progress, - CORBA::Boolean remaining_activations, - CORBA::Environment &env); - // This method is invoked whenever a MyFooServant for a MyFoo object - // is deactivated. - -private: - CORBA::ORB_var orb_; - // A reference to the ORB. -}; |