Version: 9.12.0
TraceCollector_WaitForServerReadiness.hxx File Reference
#include <SALOMEconfig.h>
#include <omniORB4/CORBA.h>
#include <string>
Include dependency graph for TraceCollector_WaitForServerReadiness.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CORBA::Object_ptr TraceCollector_WaitForServerReadiness (const std::string &serverName)
 Wait until a server is registered in naming service. More...
 

Function Documentation

◆ TraceCollector_WaitForServerReadiness()

CORBA::Object_ptr TraceCollector_WaitForServerReadiness ( const std::string &  serverName)

Wait until a server is registered in naming service.

Parameters
serverNamename of the server to find. When SALOME_NamingService is available, use NamingService_WaitForServerReadiness instead. This function is needed when macro MESSAGE used by SALOME_NamingService is not available (inside LocalTrace methods, for instance !). Direct access to CORBA Name Service. Look for serverName at Name service Root without extensions.

References KERNEL::GetRefToORB(), getSSLMode(), pythfilter::name, KERNEL_PY.batchmode_salome::obj, and salome::orb.

Referenced by SALOMETraceCollector::run().