|
resolveNameService method is a method helping to resolve CORBA NameService's reference. The NameService reference is defined by the first valid of the following options: # Command line option -ORBInitRef NameService=<corbaloc reference=""> (e.g. corbaloc::te1.hq.eso.org:xxxx) using CORBA::ORB::resolve_initial_references("NameService"), ORB has to be already initialized with the command line # Environment variable NAMESERVICE_REFERENCE # corbaloc::<hostname>:xxxx/NameService
- Parameters:
-
| orb | CORBA ORB |
| retries | number of retries resolving NameService reference, <= 0 means infinite |
| secTimeout | timeout expressed in seconds, == 0 means inifinite (dt between retries is 3secs) |
- Returns:
- CORBA reference to the NameService's root CosNaming::NamingContext
|