diff options
Diffstat (limited to 'TAO/tests/POA/On_Demand_Activation/Servant_Activator.h')
-rw-r--r-- | TAO/tests/POA/On_Demand_Activation/Servant_Activator.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/TAO/tests/POA/On_Demand_Activation/Servant_Activator.h b/TAO/tests/POA/On_Demand_Activation/Servant_Activator.h new file mode 100644 index 00000000000..1792284649b --- /dev/null +++ b/TAO/tests/POA/On_Demand_Activation/Servant_Activator.h @@ -0,0 +1,17 @@ +#include "tao/corba.h" + +class MyFooServantActivator : public POA_PortableServer::ServantActivator +{ +public: + virtual PortableServer::Servant incarnate (const PortableServer::ObjectId &oid, + PortableServer::POA_ptr poa, + CORBA::Environment &env); + + 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); +}; + |