ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Enumerations | Variables
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:

Go to the source code of this file.

Classes

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

Macros

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

Enumerations

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  EResourceType { kRTNone = -1, kRTStatic = 0, kRTDynamic = 1 }
 
enum  EStaticSelOpt { kSSORoundRobin = 0, kSSORandom = 1, kSSOLoadBased = 2 }
 
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  EAdminExecType {
  kRm = 0, kLs = 1, kMore = 2, kGrep = 3,
  kTail = 4, kMd5sum = 5, kStat = 6, kFind = 7
}
 
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
}
 
enum  XProofResponseType {
  kXP_ok = 0, kXP_oksofar = 4100, kXP_attn, kXP_authmore,
  kXP_error, kXP_wait
}
 
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  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
}
 

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

#define kXP_MasterServer   1

Definition at line 18 of file XProofProtocol.h.

#define kXPD_Admin   4

Definition at line 56 of file XProofProtocol.h.

Referenced by XrdProofdClientMgr::Login().

#define kXPD_AnyConnect   -1

Definition at line 61 of file XProofProtocol.h.

#define kXPD_AnyServer   -1
#define kXPD_async   0x2

Definition at line 142 of file XProofProtocol.h.

Referenced by TXSocket::SendRaw(), and TXSocket::TXSocket().

#define kXPD_ClientMaster   2
#define kXPD_fb_prog   0x10

Definition at line 145 of file XProofProtocol.h.

Referenced by TXSocket::Send(), and XrdProofdProtocol::SendMsg().

#define kXPD_Internal   3
#define kXPD_internal   0x1

Definition at line 141 of file XProofProtocol.h.

Referenced by TXSocket::Ping(), and TXSocket::TXSocket().

#define kXPD_logmsg   0x20

Definition at line 146 of file XProofProtocol.h.

Referenced by TXSocket::Send(), and XrdProofdProtocol::SendMsg().

#define kXPD_Master   1
#define kXPD_MasterMaster   1
#define kXPD_MasterWorker   0
#define kXPD_OpModeControlled   1
#define kXPD_OpModeOpen   0

Definition at line 70 of file XProofProtocol.h.

Referenced by XrdProofdManager::XrdProofdManager().

#define kXPD_process   0x80

Definition at line 148 of file XProofProtocol.h.

Referenced by TXSocket::Send().

#define kXPD_querynum   0x40

Definition at line 147 of file XProofProtocol.h.

Referenced by TXSocket::Send(), and XrdProofdProtocol::SendMsg().

#define kXPD_setidle   0x8

Definition at line 144 of file XProofProtocol.h.

Referenced by TXSocket::Send(), and XrdProofdProtocol::SendMsg().

#define kXPD_startprocess   0x4

Definition at line 143 of file XProofProtocol.h.

Referenced by TXSocket::Send(), and XrdProofdProtocol::SendMsg().

#define kXPD_TopMaster   2
#define kXPD_Worker   0
#define kXR_SlaveServer   0

Definition at line 19 of file XProofProtocol.h.

#define XPD_DEF_PORT   1093
#define XPD_VERSION   0x010600

Definition at line 53 of file XProofProtocol.h.

Enumeration Type Documentation

Enumerator
kRm 
kLs 
kMore 
kGrep 
kTail 
kMd5sum 
kStat 
kFind 

Definition at line 113 of file XProofProtocol.h.

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

Definition at line 89 of file XProofProtocol.h.

Enumerator
kRTNone 
kRTStatic 
kRTDynamic 

Definition at line 74 of file XProofProtocol.h.

Enumerator
kSSORoundRobin 
kSSORandom 
kSSOLoadBased 

Definition at line 81 of file XProofProtocol.h.

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 205 of file XProofProtocol.h.

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 171 of file XProofProtocol.h.

Enumerator
kXP_pending 
kXP_done 
kXP_processing 
kXP_aborted 

Definition at line 194 of file XProofProtocol.h.

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 31 of file XProofProtocol.h.

Enumerator
kXP_ok 
kXP_oksofar 
kXP_attn 
kXP_authmore 
kXP_error 
kXP_wait 

Definition at line 159 of file XProofProtocol.h.

Enumerator
kXPD_sched_off 
kXPD_sched_local 
kXPD_sched_central 

Definition at line 125 of file XProofProtocol.h.

Enumerator
kXPD_idle 
kXPD_running 
kXPD_shutdown 
kXPD_enqueued 
kXPD_unknown 

Definition at line 132 of file XProofProtocol.h.

Variable Documentation

const char* const XPD_GW_Failed = "|failed|"

Definition at line 151 of file XProofProtocol.h.

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