ROOT  6.06/09
Reference Guide
Macros | Functions | Variables
XrdProofdProofServMgr.cxx File Reference
#include "XrdProofdPlatform.h"
#include "XpdSysDNS.h"
#include "XpdSysError.h"
#include "XpdSysLogger.h"
#include "Xrd/XrdBuffer.hh"
#include "Xrd/XrdPoll.hh"
#include "Xrd/XrdScheduler.hh"
#include "XrdNet/XrdNet.hh"
#include "XrdOuc/XrdOucRash.hh"
#include "XrdOuc/XrdOucStream.hh"
#include "XrdSys/XrdSysPriv.hh"
#include "XrdSys/XrdSysPlugin.hh"
#include "XrdProofdClient.h"
#include "XrdProofdClientMgr.h"
#include "XrdProofdManager.h"
#include "XrdProofdNetMgr.h"
#include "XrdProofdPriorityMgr.h"
#include "XrdProofdProofServMgr.h"
#include "XrdProofdProtocol.h"
#include "XrdProofGroup.h"
#include "XrdProofSched.h"
#include "XrdROOT.h"
#include <map>
#include "XrdProofdTrace.h"
+ Include dependency graph for XrdProofdProofServMgr.cxx:

Go to the source code of this file.

Macros

#define PutEnv(x, e)   { if (e) { putenv(x); } else { delete[] x; } }
 

Functions

voidXrdProofdProofServCron (void *p)
 This is an endless loop to check the system periodically or when triggered via a message in a dedicated pipe. More...
 
voidXrdProofdProofServRecover (void *p)
 Waiting for session to recover after an abrupt shutdown. More...
 
static int WriteSessEnvs (const char *, XpdEnv *env, void *s)
 Run thorugh entries to broadcast the relevant priority. More...
 
static int WriteSessRCs (const char *, XpdEnv *erc, void *f)
 Run thorugh entries to broadcast the relevant priority. More...
 
static int BroadcastPriority (const char *, XrdProofdProofServ *ps, void *s)
 Run thorugh entries to broadcast the relevant priority. More...
 
static int FreeClientID (const char *, XrdProofdProofServ *ps, void *s)
 Run through entries to reset the disconnecting client slots. More...
 
static int CountTopMasters (const char *, XrdProofdProofServ *ps, void *s)
 Run thorugh entries to count top-masters. More...
 

Variables

static XpdManagerCron_t fManagerCron
 

Macro Definition Documentation

#define PutEnv (   x,
 
)    { if (e) { putenv(x); } else { delete[] x; } }

Function Documentation

static int BroadcastPriority ( const char *  ,
XrdProofdProofServ ps,
void s 
)
static

Run thorugh entries to broadcast the relevant priority.

Definition at line 4507 of file XrdProofdProofServMgr.cxx.

Referenced by XrdProofdProofServMgr::BroadcastPriorities().

static int CountTopMasters ( const char *  ,
XrdProofdProofServ ps,
void s 
)
static

Run thorugh entries to count top-masters.

Definition at line 4679 of file XrdProofdProofServMgr.cxx.

Referenced by XrdProofdProofServMgr::CurrentSessions().

static int FreeClientID ( const char *  ,
XrdProofdProofServ ps,
void s 
)
static

Run through entries to reset the disconnecting client slots.

Definition at line 4648 of file XrdProofdProofServMgr.cxx.

Referenced by XrdProofdProofServMgr::DisconnectFromProofServ().

static int WriteSessEnvs ( const char *  ,
XpdEnv env,
void s 
)
static

Run thorugh entries to broadcast the relevant priority.

Definition at line 2840 of file XrdProofdProofServMgr.cxx.

Referenced by XrdProofdProofServMgr::CreateProofServEnvFile(), and XrdProofdProofServMgr::SetProofServEnvOld().

static int WriteSessRCs ( const char *  ,
XpdEnv erc,
void f 
)
static

Run thorugh entries to broadcast the relevant priority.

Definition at line 3301 of file XrdProofdProofServMgr.cxx.

Referenced by XrdProofdProofServMgr::CreateProofServRootRc().

void* XrdProofdProofServCron ( void p)

This is an endless loop to check the system periodically or when triggered via a message in a dedicated pipe.

Definition at line 80 of file XrdProofdProofServMgr.cxx.

Referenced by XrdProofdProofServMgr::Config().

void* XrdProofdProofServRecover ( void p)

Waiting for session to recover after an abrupt shutdown.

Definition at line 238 of file XrdProofdProofServMgr.cxx.

Referenced by XrdProofdProofServMgr::PrepareSessionRecovering().

Variable Documentation

XpdManagerCron_t fManagerCron
static

Definition at line 67 of file XrdProofdProofServMgr.cxx.