#include <maciHelper.h>
Static Public Member Functions | |
ACE_CString | extractHostnameFromCorbaloc (const ACE_TCHAR *corbaloc) |
ACE_CString | getManagerHostname (int argc, ACE_TCHAR **argv) |
maci::Manager_ptr | resolveManager (CORBA::ORB_ptr orb, int argc, ACE_TCHAR **argv, int retries=3, unsigned int secTimeout=0) |
maci::Manager_ptr | resolveManager (CORBA::ORB_ptr orb, const ACE_TCHAR *reference, int retries=3, unsigned int secTimeout=0) |
CosNaming::NamingContext_ptr | resolveNameService (CORBA::ORB_ptr orb, int retries=3, unsigned int secTimeout=0) |
CosNaming::NamingContext_ptr | resolveNameService (CORBA::ORB_ptr orb, const ACE_TCHAR *reference, int retries=3, unsigned int secTimeout=0) |
CORBA::Repository_ptr | resolveInterfaceRepository (CORBA::ORB_ptr orb, maci::Manager_ptr manager, int argc, ACE_TCHAR **argv, int retries=3, unsigned int secTimeout=0) |
CORBA::Repository_ptr | resolveInterfaceRepository (CORBA::ORB_ptr orb, const ACE_TCHAR *reference, int retries=3, unsigned int secTimeout=0) |
void | terminateResolving (bool terminate=true) |
Static Private Attributes | |
bool | m_terminate |
|
Extract hostname from corbaloc address.
|
|
getManagerHostname is a method helping to retrieve Manager's hostname. The Manager hostame is extraced using the first valid of the following options: # Command line option -m or -managerReference # ManagerReference value in configuration database # Environment variable MANAGER_REFERENCE # hostname
|
|
resolveInterfaceRepository method resolve given stringified CORBA reference to the InterfaceRepository.
|
|
resolveInterfaceRepository method is a method helping to resolve CORBA InterfaceRepository's reference. The InterfaceRepository reference is defined by the first valid of the following options: # Command line option -ORBInitRef InterfaceRepository=<corbaloc reference=""> (e.g. corbaloc::te1.hq.eso.org:xxxx) using CORBA::ORB::resolve_initial_references("InterfaceRepository"), ORB has to be already initialized with the command line # Manager get_service("InterfaceRepository") # corbaloc::<manager's hostname>:xxxx/NameService # corbaloc::<hostname>:xxxx/NameService
|
|
resolveManager method resolve given stringified CORBA reference to the Maneger.
|
|
resolveManager method is a method helping to resolve Manager's reference. The Manager reference is defined by the first valid of the following options: # Command line option -m or -managerReference # ManagerReference value in configuration database # Environment variable MANAGER_REFERENCE # corbaloc::<hostname>:xxxx/Manager
|
|
resolveNameService method resolve given stringified CORBA reference to the NameService.
|
|
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
|
|
Terminates all resolving processes
|
|
|