Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 <grp.h>
#include <map>
#include <unistd.h>
#include "XrdProofdTrace.h"
Include dependency graph for XrdProofdProofServMgr.cxx:

Classes

struct  XpdBroadcastPriority_t
 
struct  XpdWriteEnv_t
 

Macros

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

Functions

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

Variables

static XpdManagerCron_t fManagerCron
 

Macro Definition Documentation

◆ PutEnv

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

Definition at line 63 of file XrdProofdProofServMgr.cxx.

Function Documentation

◆ BroadcastPriority()

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.

◆ CountTopMasters()

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.

◆ FreeClientID()

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.

◆ WriteSessEnvs()

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

Run thorugh entries to broadcast the relevant priority.

Definition at line 2842 of file XrdProofdProofServMgr.cxx.

◆ WriteSessRCs()

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

Run thorugh entries to broadcast the relevant priority.

Definition at line 3303 of file XrdProofdProofServMgr.cxx.

◆ XrdProofdProofServCron()

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 82 of file XrdProofdProofServMgr.cxx.

◆ XrdProofdProofServRecover()

void * XrdProofdProofServRecover ( void p)

Waiting for session to recover after an abrupt shutdown.

Definition at line 240 of file XrdProofdProofServMgr.cxx.

Variable Documentation

◆ fManagerCron

XpdManagerCron_t fManagerCron
static

Definition at line 69 of file XrdProofdProofServMgr.cxx.