35 public PortableServer::RefCountServantBase
39 Mapper(
const char*
id, CORBA::Object_ptr obj)
41 id_( CORBA::string_dup(
id) ),
42 obj_( CORBA::Object::_duplicate(obj) )
44 DB(1,
"Initialising Mapper `"<<
id<<
"'.")
60 DB(20,
"Mapping `"<<
id_.in()<<
"'")
62 throw omniORB::LOCATION_FORWARD(CORBA::Object::_duplicate(
obj_),0);
64 throw omniORB::LOCATION_FORWARD(CORBA::Object::_duplicate(
obj_) );
68 string id()
const {
return string(
id_.in());}
71 CORBA::String_var
id_;
A dummy servant that installs itself into the INSPOA and redirects all calls to the real destination.
CORBA::Boolean _is_a(const char *id)
Mapper(const char *id, CORBA::Object_ptr obj)
CORBA::Boolean _dispatch(GIOP_S &)
Singleton class that owns the ORB and various initial references.
void activateObjectWithId(const char *oidStr)
Calls activate_object_with_id() to activate this servant in its POA.
void deactivateObject()
Calls deactivate_object() to deactivate this servant in its POA.