summaryrefslogtreecommitdiff
path: root/TAO/tests/POA/On_Demand_Activation/Servant_Activator.h
blob: 1792284649bb30fd2d239127d3074e9f06c068b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
};