Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
XProofProtocol.h File Reference
#include "XProtocol/XProtocol.hh"
Include dependency graph for XProofProtocol.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  XPClientArchiveRequest
 
struct  XPClientInterruptRequest
 
struct  XPClientLoginRequest
 
struct  XPClientProofRequest
 
struct  XPClientReadbufRequest
 
union  XPClientRequest
 
struct  XPClientSendRcvRequest
 

Macros

#define kXP_MasterServer   1
 
#define kXPD_Admin   4
 
#define kXPD_AnyConnect   -1
 
#define kXPD_AnyServer   -1
 
#define kXPD_async   0x2
 
#define kXPD_ClientMaster   2
 
#define kXPD_fb_prog   0x10
 
#define kXPD_Internal   3
 
#define kXPD_internal   0x1
 
#define kXPD_logmsg   0x20
 
#define kXPD_Master   1
 
#define kXPD_MasterMaster   1
 
#define kXPD_MasterWorker   0
 
#define kXPD_OpModeControlled   1
 
#define kXPD_OpModeOpen   0
 
#define kXPD_process   0x80
 
#define kXPD_querynum   0x40
 
#define kXPD_setidle   0x8
 
#define kXPD_startprocess   0x4
 
#define kXPD_TopMaster   2
 
#define kXPD_Worker   0
 
#define kXR_SlaveServer   0
 
#define XPD_DEF_PORT   1093
 
#define XPD_VERSION   0x010600
 

Enumerations

enum  EAdminExecType {
  kRm = 0 , kLs = 1 , kMore = 2 , kGrep = 3 ,
  kTail = 4 , kMd5sum = 5 , kStat = 6 , kFind = 7
}
 
enum  EAdminMsgType {
  kQuerySessions = 1000 , kSessionTag = 1001 , kSessionAlias = 1002 , kGetWorkers = 1003 ,
  kQueryWorkers = 1004 , kCleanupSessions = 1005 , kQueryLogPaths = 1006 , kReadBuffer = 1007 ,
  kQueryROOTVersions = 1008 , kROOTVersion = 1009 , kGroupProperties = 1010 , kSendMsgToUser = 1011 ,
  kReleaseWorker = 1012 , kExec = 1013 , kGetFile = 1014 , kPutFile = 1015 ,
  kCpFile = 1016 , kQueryMssUrl = 1017 , kUndef = 1018
}
 
enum  EResourceType { kRTNone = -1 , kRTStatic = 0 , kRTDynamic = 1 }
 
enum  EStaticSelOpt { kSSORoundRobin = 0 , kSSORandom = 1 , kSSOLoadBased = 2 }
 
enum  XPErrorCode {
  kXP_ArgInvalid = 3100 , kXP_ArgMissing , kXP_ArgTooLong , kXP_InvalidRequest ,
  kXP_IOError , kXP_NoMemory , kXP_NoSpace , kXP_NotAuthorized ,
  kXP_NotFound , kXP_ServerError , kXP_Unsupported , kXP_noserver ,
  kXP_nosession , kXP_nomanager , kXP_reconnecting , kXP_TooManySess
}
 
enum  XProofActionCode {
  kXPD_msg = 5100 , kXPD_ping , kXPD_interrupt , kXPD_feedback ,
  kXPD_srvmsg , kXPD_msgsid , kXPD_errmsg , kXPD_timer ,
  kXPD_urgent , kXPD_flush , kXPD_inflate , kXPD_priority ,
  kXPD_wrkmortem , kXPD_touch , kXPD_resume , kXPD_clusterinfo
}
 
enum  XProofQueryStatus { kXP_pending = 0 , kXP_done , kXP_processing , kXP_aborted }
 
enum  XProofRequestTypes {
  kXP_login = 3101 , kXP_auth = 3102 , kXP_create = 3103 , kXP_destroy = 3104 ,
  kXP_attach = 3105 , kXP_detach = 3106 , kXP_urgent = 3111 , kXP_sendmsg = 3112 ,
  kXP_admin = 3113 , kXP_interrupt = 3114 , kXP_ping = 3115 , kXP_cleanup = 3116 ,
  kXP_readbuf = 3117 , kXP_touch = 3118 , kXP_ctrlc = 3119 , kXP_direct = 3120 ,
  kXP_Undef = 3121
}
 
enum  XProofResponseType {
  kXP_ok = 0 , kXP_oksofar = 4100 , kXP_attn , kXP_authmore ,
  kXP_error , kXP_wait
}
 
enum  XProofSchedOpts { kXPD_sched_off = 0 , kXPD_sched_local = 1 , kXPD_sched_central = 2 }
 
enum  XProofSessionStatus {
  kXPD_idle = 0 , kXPD_running = 1 , kXPD_shutdown = 2 , kXPD_enqueued = 3 ,
  kXPD_unknown = 4
}
 

Variables

const char *const XPD_GW_Failed = "|failed|"
 
const char *const XPD_GW_QueryEnqueued = "|enqueued|"
 
const char *const XPD_GW_Static = "static:"
 

Macro Definition Documentation

◆ kXP_MasterServer

#define kXP_MasterServer   1

Definition at line 14 of file XProofProtocol.h.

◆ kXPD_Admin

#define kXPD_Admin   4

Definition at line 52 of file XProofProtocol.h.

◆ kXPD_AnyConnect

#define kXPD_AnyConnect   -1

Definition at line 57 of file XProofProtocol.h.

◆ kXPD_AnyServer

#define kXPD_AnyServer   -1

Definition at line 63 of file XProofProtocol.h.

◆ kXPD_async

#define kXPD_async   0x2

Definition at line 138 of file XProofProtocol.h.

◆ kXPD_ClientMaster

#define kXPD_ClientMaster   2

Definition at line 54 of file XProofProtocol.h.

◆ kXPD_fb_prog

#define kXPD_fb_prog   0x10

Definition at line 141 of file XProofProtocol.h.

◆ kXPD_Internal

#define kXPD_Internal   3

Definition at line 53 of file XProofProtocol.h.

◆ kXPD_internal

#define kXPD_internal   0x1

Definition at line 137 of file XProofProtocol.h.

◆ kXPD_logmsg

#define kXPD_logmsg   0x20

Definition at line 142 of file XProofProtocol.h.

◆ kXPD_Master

#define kXPD_Master   1

Definition at line 61 of file XProofProtocol.h.

◆ kXPD_MasterMaster

#define kXPD_MasterMaster   1

Definition at line 55 of file XProofProtocol.h.

◆ kXPD_MasterWorker

#define kXPD_MasterWorker   0

Definition at line 56 of file XProofProtocol.h.

◆ kXPD_OpModeControlled

#define kXPD_OpModeControlled   1

Definition at line 67 of file XProofProtocol.h.

◆ kXPD_OpModeOpen

#define kXPD_OpModeOpen   0

Definition at line 66 of file XProofProtocol.h.

◆ kXPD_process

#define kXPD_process   0x80

Definition at line 144 of file XProofProtocol.h.

◆ kXPD_querynum

#define kXPD_querynum   0x40

Definition at line 143 of file XProofProtocol.h.

◆ kXPD_setidle

#define kXPD_setidle   0x8

Definition at line 140 of file XProofProtocol.h.

◆ kXPD_startprocess

#define kXPD_startprocess   0x4

Definition at line 139 of file XProofProtocol.h.

◆ kXPD_TopMaster

#define kXPD_TopMaster   2

Definition at line 60 of file XProofProtocol.h.

◆ kXPD_Worker

#define kXPD_Worker   0

Definition at line 62 of file XProofProtocol.h.

◆ kXR_SlaveServer

#define kXR_SlaveServer   0

Definition at line 15 of file XProofProtocol.h.

◆ XPD_DEF_PORT

#define XPD_DEF_PORT   1093

Definition at line 9 of file XProofProtocol.h.

◆ XPD_VERSION

#define XPD_VERSION   0x010600

Definition at line 49 of file XProofProtocol.h.

Enumeration Type Documentation

◆ EAdminExecType

Enumerator
kRm 
kLs 
kMore 
kGrep 
kTail 
kMd5sum 
kStat 
kFind 

Definition at line 109 of file XProofProtocol.h.

◆ EAdminMsgType

Enumerator
kQuerySessions 
kSessionTag 
kSessionAlias 
kGetWorkers 
kQueryWorkers 
kCleanupSessions 
kQueryLogPaths 
kReadBuffer 
kQueryROOTVersions 
kROOTVersion 
kGroupProperties 
kSendMsgToUser 
kReleaseWorker 
kExec 
kGetFile 
kPutFile 
kCpFile 
kQueryMssUrl 
kUndef 

Definition at line 85 of file XProofProtocol.h.

◆ EResourceType

Enumerator
kRTNone 
kRTStatic 
kRTDynamic 

Definition at line 70 of file XProofProtocol.h.

◆ EStaticSelOpt

Enumerator
kSSORoundRobin 
kSSORandom 
kSSOLoadBased 

Definition at line 77 of file XProofProtocol.h.

◆ XPErrorCode

Enumerator
kXP_ArgInvalid 
kXP_ArgMissing 
kXP_ArgTooLong 
kXP_InvalidRequest 
kXP_IOError 
kXP_NoMemory 
kXP_NoSpace 
kXP_NotAuthorized 
kXP_NotFound 
kXP_ServerError 
kXP_Unsupported 
kXP_noserver 
kXP_nosession 
kXP_nomanager 
kXP_reconnecting 
kXP_TooManySess 

Definition at line 201 of file XProofProtocol.h.

◆ XProofActionCode

Enumerator
kXPD_msg 
kXPD_ping 
kXPD_interrupt 
kXPD_feedback 
kXPD_srvmsg 
kXPD_msgsid 
kXPD_errmsg 
kXPD_timer 
kXPD_urgent 
kXPD_flush 
kXPD_inflate 
kXPD_priority 
kXPD_wrkmortem 
kXPD_touch 
kXPD_resume 
kXPD_clusterinfo 

Definition at line 167 of file XProofProtocol.h.

◆ XProofQueryStatus

Enumerator
kXP_pending 
kXP_done 
kXP_processing 
kXP_aborted 

Definition at line 190 of file XProofProtocol.h.

◆ XProofRequestTypes

Enumerator
kXP_login 
kXP_auth 
kXP_create 
kXP_destroy 
kXP_attach 
kXP_detach 
kXP_urgent 
kXP_sendmsg 
kXP_admin 
kXP_interrupt 
kXP_ping 
kXP_cleanup 
kXP_readbuf 
kXP_touch 
kXP_ctrlc 
kXP_direct 
kXP_Undef 

Definition at line 27 of file XProofProtocol.h.

◆ XProofResponseType

Enumerator
kXP_ok 
kXP_oksofar 
kXP_attn 
kXP_authmore 
kXP_error 
kXP_wait 

Definition at line 155 of file XProofProtocol.h.

◆ XProofSchedOpts

Enumerator
kXPD_sched_off 
kXPD_sched_local 
kXPD_sched_central 

Definition at line 121 of file XProofProtocol.h.

◆ XProofSessionStatus

Enumerator
kXPD_idle 
kXPD_running 
kXPD_shutdown 
kXPD_enqueued 
kXPD_unknown 

Definition at line 128 of file XProofProtocol.h.

Variable Documentation

◆ XPD_GW_Failed

const char* const XPD_GW_Failed = "|failed|"

Definition at line 147 of file XProofProtocol.h.

◆ XPD_GW_QueryEnqueued

const char* const XPD_GW_QueryEnqueued = "|enqueued|"

Definition at line 148 of file XProofProtocol.h.

◆ XPD_GW_Static

const char* const XPD_GW_Static = "static:"

Definition at line 149 of file XProofProtocol.h.