Go to the source code of this file.
Functions | |
void | NamingService_WaitForServerReadiness (SALOME_NamingService *NS, std::string serverName) |
Wait until a server is registered in naming service. More... | |
void NamingService_WaitForServerReadiness | ( | SALOME_NamingService * | NS, |
std::string | serverName | ||
) |
Wait until a server is registered in naming service.
serverName | name of the server to find. |
NS | SALOME_NamingService object Wait until the given server is ready i.e. is name is found in namingService. Try 40 times, with 500 ms sleep between each try. If Logger is used for traces, it must be ready before this call, because SALOME_NamingService client uses SALOME traces. So, Logger readiness must be checked in Launch script before execution of WaitForServerReadiness. |
References ASSERT, SALOME_NamingService::getIORaddr(), INFOS, MESSAGE, and SALOME_NamingService::Resolve().
Referenced by main().