How to use CosNaming & the name-server in ORBit2?



Hi,

I'm trying to use the orbit-name-server-2 in ORBit2 and have been looking at
code like at the link below, but it uses functions I can't find in any 
library. I realize that the code is for ORBit and not ORBit2, but does anyone
have a code snippet of similar complexity and functionality for ORBit2? In 
fact, I'd be happy with *any* working example of this that I can learn from :)
The examples in the "test" directory does not cover this as far as I can see.

http://developer.gnome.org/doc/guides/corba/html/corba-poa-example.html

The function that I can't find is 

root_name = CORBA_ORB_resolve_initial_service (orb, 
         "NameService", 
         &ev);

Can that function be replaced somehow by:

    root = CORBA_ORB_resolve_initial_references (orb, 
					      "NameService", 
					      &ev);


I appreciate any input in this matter since I'm a newbie to ORBit!

Cheers,

/Lars



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]