|
| XrdProofdNetMgr (XrdProofdManager *mgr, XrdProtocol_Config *pi, XrdSysError *e) |
| Constructor. More...
|
|
virtual | ~XrdProofdNetMgr () |
| Destructor. More...
|
|
void | BalanceNodesOrder () |
| Indices (this will be used twice). More...
|
|
int | Broadcast (int type, const char *msg, const char *usr=0, XrdProofdResponse *r=0, bool notify=0, int subtype=-1) |
| Broadcast request to known potential sub-nodes. More...
|
|
int | BroadcastCtrlC (const char *usr) |
| Broadcast a ctrlc interrupt Return 0 on success, -1 on error. More...
|
|
int | Config (bool rcf=0) |
| Run configuration and parse the entered config directives. More...
|
|
int | DoDirective (XrdProofdDirective *d, char *val, XrdOucStream *cfg, bool rcf) |
| Update the priorities of the active sessions. More...
|
|
void | Dump () |
| Dump status. More...
|
|
std::list< XrdProofWorker * > * | GetActiveWorkers () |
| Return the list of workers after having made sure that the info is up-to-date. More...
|
|
std::list< XrdProofWorker * > * | GetNodes () |
| Return the list of unique nodes after having made sure that the info is up-to-date. More...
|
|
XrdProofConn * | GetProofConn (const char *url) |
| Get a XrdProofConn for url; create a new one if not available. More...
|
|
bool | IsLocal (const char *host, bool checkport=0) |
| Check if 'host' is this local host. More...
|
|
const char * | PROOFcfg () const |
|
int | ReadBuffer (XrdProofdProtocol *p) |
| Process a readbuf request. More...
|
|
char * | ReadBufferLocal (const char *file, const char *pat, int &len, int opt) |
| Grep lines matching 'pat' form 'path'; the returned buffer (length in 'len') must be freed by the caller. More...
|
|
char * | ReadBufferLocal (const char *file, kXR_int64 ofs, int &len) |
| Read a buffer of length 'len' at offset 'ofs' of local file 'path'; the returned buffer must be freed by the caller. More...
|
|
char * | ReadBufferRemote (const char *url, const char *file, kXR_int64 ofs, int &len, int grep) |
| Send a read buffer request of length 'len' at offset 'ofs' for remote file defined by 'url'; the returned buffer must be freed by the caller. More...
|
|
char * | ReadLogPaths (const char *stag, int isess) |
| Get log paths from next tier; used in multi-master setups Returns 0 in case of error. More...
|
|
char * | ReadLogPaths (const char *url, const char *stag, int isess) |
| Get log paths from next tier; used in multi-master setups Returns 0 in case of error. More...
|
|
void | RegisterDirectives () |
| Register config directives. More...
|
|
XrdClientMessage * | Send (const char *url, int type, const char *msg, int srvtype, XrdProofdResponse *r, bool notify=0, int subtype=-1) |
| Broadcast request to known potential sub-nodes. More...
|
|
bool | WorkerUsrCfg () const |
|
| XrdProofdConfig (const char *cfg=0, XrdSysError *edest=0) |
| Main constructor. More...
|
|
virtual | ~XrdProofdConfig () |
|
const char * | CfgFile () const |
|
virtual int | Config (bool rcf=0) |
|
virtual int | DoDirective (XrdProofdDirective *, char *, XrdOucStream *, bool) |
|
virtual void | RegisterDirectives () |
|
void | SetCfgEDest (const char *cfg, XrdSysError *edest) |
| Set config file and error handler. More...
|
|