[omniORB] Corbaloc example?

Burton, Craig CBurton at verisign.com
Thu Sep 23 09:41:37 BST 2004


Hi Wernke,

Thank you for the reply.  It seems the part I'm missing is your comment regarding omniINSPOA.  I have never done that.

In this particular case, I'm attempting to create a child poa using perisistent lifespan policy so that my IOR is static.  Would this preclude using omniINSPOA?

Thanks again,
Craig

-----Original Message-----
From: omniorb-list-bounces at omniorb-support.com [mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Wernke zur Borg
Sent: Wednesday, September 22, 2004 11:31 PM
To: omniorb-list at omniorb-support.com
Subject: RE: [omniORB] Corbaloc example?


(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



_______________________________________________
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