Version: 6.3.1
Data Structures | Variables

src/Session/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 <QApplication>
#include <QWaitCondition>
#include <QMutexLocker>
#include <QStringList>
Include dependency graph for Session_ServerCheck.cxx:

Data Structures

class  Session_ServerCheck.Locker
 Automatic locker/unlocker. More...

Variables

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

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
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS