[omniORB] Narrow/resolve

Wernke zur Borg Wernke.zur.Borg at vega.de
Thu Jul 7 16:44:26 BST 2005


Hi Bernhard,

I am not 100% sure what your problem is. Do you want to use the CORBA Naming
Service or not? If you have just that one object on many servers, and you
want to specify the server with each call, you do not need a naming service.
You would work with a corbaloc URI, which you can convert with
string_to_object() and _narrow() down. You would not need any InitRef
settings for that.

Perhaps you can describe your problem a bit more precisely, if this is not
the info 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 Hofmann, Bernhard (Siemens EXT)
> Sent: 06 July 2005 08:58
> To: omniORB List
> Subject: [omniORB] Narrow/resolve
> 
> Hi
> 
> I can use an IOR string and string_to_object() and then 
> _narrow() to get
> the object I want, or I can use ResolveNameService().
> 
> I have the same object (Acme.Context/Manager.Object) on many different
> computers, and I'd like to specify a corbaloc or similar when 
> resolving
> (so I can identify the computer I wish to get the object from).
> 
> How would I go about this? I've tried multiple InitRef settings, but I
> don't seem to be able to define the order in which they're attempted.
> 
> Lost,
> Bernhard
> 
> _______________________________________________
> 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