[omniORB] Corbaloc example?

Wernke zur Borg wzb at anitesystems.de
Thu Sep 23 09:31:09 BST 2004


(Sorry, my previous mail prematurely went off by mistake)

Hi Craig,

first refer to chapter 6.5 of the manual, Creating objects with simple
object keys.

Basically, you first decide on the object key, e.g. "MyObjectKey", then use
PortableServer::string_to_ObjectId() and the omniINSPOA with
activate_object_with_id() on the server side.

On the client side, you use
string_to_object("corbaloc::myhost:port/MyObjectKey"). No need to catior.

Hope this is what you were looking for.

Wernke

-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com
[mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Burton, Craig
Sent: 22 September 2004 21:12
To: omniorb-list at omniorb-support.com
Subject: [omniORB] Corbaloc example?

Hi,

Our group has been using persistent IORs and corbaname (with omniNames) for
quite some time with great success.  However, we now have the need to look
into "corbaloc".  I've tried several things to no avail.

What I'm trying to do is use catior to get the object key that I'm using to
populate the corbaloc string, then calling string_to_object.  But I must be
missing something pretty obvious.  If anyone could offer a quick example, I
would be grateful.

Thanks in advance,
Craig

cburton at verisign.com

_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list





More information about the omniORB-list mailing list