Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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_ORB_INIT.hxx"
#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>

Classes

class  Session_ServerCheck::Locker
 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

#define TYPE_NOEXCEPT

Variable Documentation

const int __DEFAULT__ATTEMPTS__ = 300

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
const int __DEFAULT__DELAY__ = 50000

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