[omniORB] Object Location
SaE
sae@argus.comset.net
Fri, 16 Mar 2001 17:28:39 +0300
Hello omniorb-list,
In my server I'd like to make my object accessible by corbaloc::myhost:10000/MyObjectId
how to do that?
any alternative to Orbacus add_binding() ?:
------ORBacus example
CORBA::Object_var obj // ... A reference to a persistent object
CORBA::Object_var bmgrObj =
orb -> resolve_initial_references("BootManager");
OB::BootManager_var bootManager =
OB::BootManager::_narrow(bmgrObj);
PortableServer::ObjectId_var objId =
PortableServer::string_to_ObjectId("MyObjectId");
bootManager -> add_binding(objId, obj);
-----------------------
--
Best regards,
SaE mailto:sae@argus.comset.net