Version: 9.12.0
Session_ServerCheck.cxx File Reference
#include "Session_ServerCheck.hxx"
#include <SALOMEconfig.h>
#include <CORBA_CLIENT_HEADER(SALOME_Session)>
#include <CORBA_CLIENT_HEADER(SALOME_Registry)>
#include <CORBA_CLIENT_HEADER(SALOMEDS)>
#include <CORBA_CLIENT_HEADER(SALOME_ModuleCatalog)>
#include <CORBA_CLIENT_HEADER(SALOME_Component)>
#include "Utils_SINGLETON.hxx"
#include "SALOME_NamingService.hxx"
#include "Basics_Utils.hxx"
#include "utilities.h"
#include "Qtx.h"
#include <QApplication>
#include <QWaitCondition>
#include <QMutexLocker>
#include <QStringList>
#include "Session_NS_wrapper.hxx"

Classes

class  Session_ServerCheck< MY_NS >::Locker< MY_CLS >
 Automatic locker/unlocker. More...
 

Macros

#define TYPE_NOEXCEPT
 

Variables

const int __DEFAULT__ATTEMPTS__ = 300
 Default number of attemtps to check SALOME server. More...
 
const int __DEFAULT__DELAY__ = 50000
 Default delay between attempts (in microseconds). More...
 

Macro Definition Documentation

◆ TYPE_NOEXCEPT

#define TYPE_NOEXCEPT

Variable Documentation

◆ __DEFAULT__ATTEMPTS__

const int __DEFAULT__ATTEMPTS__ = 300

Default number of attemtps to check SALOME server.

This value can be changed by setting the CSF_RepeatServerRequest environment variable. For example, to set number of check attempts for each server to 1000:

setenv CSF_RepeatServerRequest 1000

◆ __DEFAULT__DELAY__

const int __DEFAULT__DELAY__ = 50000

Default delay between attempts (in microseconds).

This value can be changed by setting the CSF_DelayServerRequest environment variable. For example, to set delay between attemtps to check SALOME servers to 100000 (0.1 second):

setenv CSF_DelayServerRequest 100000