Version: 8.3.0
TraceCollector_WaitForServerReadiness.cxx File Reference
#include "TraceCollector_WaitForServerReadiness.hxx"
#include <iostream>
#include <ctime>
Include dependency graph for TraceCollector_WaitForServerReadiness.cxx:

Functions

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

Function Documentation

CORBA::Object_ptr TraceCollector_WaitForServerReadiness ( CORBA::ORB_ptr  orb,
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.

Referenced by SALOMETraceCollector::run().