ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
MessageTypes.h
Go to the documentation of this file.
1
/* @(#)root/base:$Id$ */
2
3
/*************************************************************************
4
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#ifndef ROOT_MessageTypes
12
#define ROOT_MessageTypes
13
14
15
//////////////////////////////////////////////////////////////////////////
16
// //
17
// MessageTypes //
18
// //
19
// System predefined message types. Message types are constants that //
20
// indicate what kind of message it is. Make sure your own message //
21
// types don't clash whith the ones defined in this file. ROOT reserves //
22
// all message ids between 0 - 10000. Make sure your message //
23
// id < 200000000. //
24
// //
25
//////////////////////////////////////////////////////////////////////////
26
27
enum
EMessageTypes
{
28
kMESS_ZIP
= 0x20000000,
//OR with kMESS_ZIP to compress message
29
kMESS_ACK
= 0x10000000,
//OR with kMESS_ACK to force each
30
//message to be acknowledged
31
kMESS_ANY
= 0,
//generic message type
32
kMESS_OK
= 1,
//everything OK
33
kMESS_NOTOK
= 2,
//things are NOT OK
34
kMESS_STRING
= 3,
//string follows
35
kMESS_OBJECT
= 4,
//object follows
36
kMESS_CINT
= 5,
//cint command follows
37
kMESS_STREAMERINFO
= 6,
//TStreamerInfo object follows
38
kMESS_PROCESSID
= 7,
//TProcessID object follows
39
40
//---- PROOF message opcodes (1000 - 1999)
41
kPROOF_GROUPVIEW
= 1000,
//groupview follows
42
kPROOF_STOP
= 1001,
//stop proof server
43
kPROOF_FATAL
= 1002,
//server got fatal error and died
44
kPROOF_LOGLEVEL
= 1003,
//loglevel follows
45
kPROOF_LOGFILE
= 1004,
//log file length and content follows
46
kPROOF_LOGDONE
= 1005,
//log file received, status follows
47
kPROOF_STATUS
= 1006,
//print status of worker - (OBSOLETE Message)
48
kPROOF_PING
= 1007,
//ping worker
49
kPROOF_PRINT
= 1008,
//ask master to print config
50
kPROOF_RESET
= 1009,
//reset worker
51
kPROOF_GETOBJECT
= 1010,
//ask for object with given name
52
kPROOF_GETPACKET
= 1011,
//ask for next packet
53
kPROOF_CHECKFILE
= 1012,
//filename and md5 follows
54
kPROOF_SENDFILE
= 1013,
//filename, length and file follows
55
kPROOF_PARALLEL
= 1014,
//number of parallel workers follows
56
kPROOF_PROCESS
= 1015,
//process events, DSet and input list follow
57
kPROOF_OUTPUTLIST
= 1016,
//return the output list from Process()
58
kPROOF_AUTOBIN
= 1017,
//callback for auto binning
59
kPROOF_CACHE
= 1018,
//cache and package handling messages
60
kPROOF_GETENTRIES
= 1019,
//report back number of entries to master
61
kPROOF_PROGRESS
= 1020,
//event loop progress
62
kPROOF_FEEDBACK
= 1021,
//intermediate version of objects
63
kPROOF_STOPPROCESS
= 1022,
//stop or abort the current process call
64
kPROOF_HOSTAUTH
= 1023,
//HostAuth info follows
65
kPROOF_GETSLAVEINFO
= 1024,
//get worker info from master
66
kPROOF_GETTREEHEADER
= 1025,
//get tree object
67
kPROOF_GETOUTPUTLIST
= 1026,
//get the output list names
68
kPROOF_GETSTATS
= 1027,
//get statistics of workers
69
kPROOF_GETPARALLEL
= 1028,
//get number of parallel workers
70
kPROOF_VALIDATE_DSET
= 1029,
//validate a TDSet
71
kPROOF_DATA_READY
= 1030,
//ask if the data is ready on nodes
72
kPROOF_QUERYLIST
= 1031,
//ask/send the list of queries
73
kPROOF_RETRIEVE
= 1032,
//asynchronous retrieve of query results
74
kPROOF_ARCHIVE
= 1033,
//archive query results
75
kPROOF_REMOVE
= 1034,
//remove query results from the lists
76
kPROOF_STARTPROCESS
= 1035,
//signals the start of query processing
77
kPROOF_SETIDLE
= 1036,
//signals idle state of session
78
kPROOF_QUERYSUBMITTED
= 1037,
//signals querysubmission
79
kPROOF_SESSIONTAG
= 1038,
//message with unique session tag
80
kPROOF_MAXQUERIES
= 1039,
//message with max number of queries
81
kPROOF_CLEANUPSESSION
= 1040,
//cleanup session query area
82
kPROOF_SERVERSTARTED
= 1041,
//signal completion of a server startup
83
kPROOF_DATASETS
= 1042,
//dataset management
84
kPROOF_PACKAGE_LIST
= 1043,
//a list of package names (TObjString's) follows
85
kPROOF_MESSAGE
= 1044,
//a message for the client follows
86
kPROOF_LIB_INC_PATH
= 1045,
//a list of lib/inc paths follows
87
kPROOF_WORKERLISTS
= 1046,
//an action on any of the worker list follows
88
kPROOF_DATASET_STATUS
= 1047,
//status of data set preparation before processing
89
kPROOF_OUTPUTOBJECT
= 1048,
//output object follows
90
kPROOF_SETENV
= 1049,
//buffer with env vars to set
91
kPROOF_REALTIMELOG
= 1050,
//switch on/off real-time retrieval of log messages
92
kPROOF_VERSARCHCOMP
= 1051,
//String with worker version/architecture/compiler follows
93
kPROOF_ENDINIT
= 1052,
//signals end of initialization on worker
94
kPROOF_TOUCH
= 1053,
//touch the client admin file
95
kPROOF_FORK
= 1054,
//ask the worker to clone itself
96
kPROOF_GOASYNC
= 1055,
//switch to asynchronous mode
97
kPROOF_SUBMERGER
= 1056,
//sub-merger based approach in finalization
98
kPROOF_ECHO
= 1057,
//object echo request from client
99
kPROOF_SENDOUTPUT
= 1058,
//control output sending
100
101
//---- ROOTD message opcodes (2000 - 2099)
102
kROOTD_USER
= 2000,
//user id follows
103
kROOTD_PASS
= 2001,
//passwd follows
104
kROOTD_AUTH
= 2002,
//authorization status (to client)
105
kROOTD_FSTAT
= 2003,
//filename follows
106
kROOTD_OPEN
= 2004,
//filename follows + mode
107
kROOTD_PUT
= 2005,
//offset, number of bytes and buffer
108
kROOTD_GET
= 2006,
//offset, number of bytes
109
kROOTD_FLUSH
= 2007,
//flush file
110
kROOTD_CLOSE
= 2008,
//close file
111
kROOTD_STAT
= 2009,
//return rootd statistics
112
kROOTD_ACK
= 2010,
//acknowledgement (all OK)
113
kROOTD_ERR
= 2011,
//error code and message follow
114
kROOTD_PROTOCOL
= 2012,
//returns rootd protocol
115
kROOTD_PUTFILE
= 2020,
//store file
116
kROOTD_GETFILE
= 2021,
//retrieve file
117
kROOTD_CHDIR
= 2022,
//change directory
118
kROOTD_MKDIR
= 2023,
//make directory
119
kROOTD_RMDIR
= 2024,
//delete directory
120
kROOTD_LSDIR
= 2025,
//list directory
121
kROOTD_PWD
= 2026,
//pwd
122
kROOTD_MV
= 2027,
//rename file
123
kROOTD_RM
= 2028,
//delete file
124
kROOTD_CHMOD
= 2029,
//change permission
125
kROOTD_PROTOCOL2
= 2031,
//client proto follows, returns rootd proto
126
kROOTD_BYE
= 2032,
//terminate rootd
127
kROOTD_CLEANUP
= 2034,
//cleanup things
128
kROOTD_NEGOTIA
= 2037,
//negotiation follows
129
kROOTD_RSAKEY
= 2038,
//RSA public key exchange
130
kROOTD_ENCRYPT
= 2039,
//an encrypted message follows
131
kROOTD_OPENDIR
= 2040,
//open directory
132
kROOTD_FREEDIR
= 2041,
//free directory
133
kROOTD_DIRENTRY
= 2042,
//get directory entry
134
kROOTD_ACCESS
= 2043,
//test Access
135
kROOTD_GETS
= 2044
//multiple offset, number of byte pairs
136
};
137
138
#endif
EMessageTypes
EMessageTypes
Definition
MessageTypes.h:27
kROOTD_RSAKEY
@ kROOTD_RSAKEY
Definition
MessageTypes.h:129
kPROOF_PROCESS
@ kPROOF_PROCESS
Definition
MessageTypes.h:56
kPROOF_VALIDATE_DSET
@ kPROOF_VALIDATE_DSET
Definition
MessageTypes.h:70
kPROOF_PING
@ kPROOF_PING
Definition
MessageTypes.h:48
kROOTD_ENCRYPT
@ kROOTD_ENCRYPT
Definition
MessageTypes.h:130
kMESS_OK
@ kMESS_OK
Definition
MessageTypes.h:32
kPROOF_DATA_READY
@ kPROOF_DATA_READY
Definition
MessageTypes.h:71
kROOTD_ACK
@ kROOTD_ACK
Definition
MessageTypes.h:112
kROOTD_PASS
@ kROOTD_PASS
Definition
MessageTypes.h:103
kROOTD_FSTAT
@ kROOTD_FSTAT
Definition
MessageTypes.h:105
kROOTD_MKDIR
@ kROOTD_MKDIR
Definition
MessageTypes.h:118
kMESS_STRING
@ kMESS_STRING
Definition
MessageTypes.h:34
kMESS_ANY
@ kMESS_ANY
Definition
MessageTypes.h:31
kPROOF_GETSTATS
@ kPROOF_GETSTATS
Definition
MessageTypes.h:68
kROOTD_PWD
@ kROOTD_PWD
Definition
MessageTypes.h:121
kPROOF_GETTREEHEADER
@ kPROOF_GETTREEHEADER
Definition
MessageTypes.h:66
kPROOF_PROGRESS
@ kPROOF_PROGRESS
Definition
MessageTypes.h:61
kPROOF_STATUS
@ kPROOF_STATUS
Definition
MessageTypes.h:47
kROOTD_USER
@ kROOTD_USER
Definition
MessageTypes.h:102
kPROOF_QUERYLIST
@ kPROOF_QUERYLIST
Definition
MessageTypes.h:72
kPROOF_CHECKFILE
@ kPROOF_CHECKFILE
Definition
MessageTypes.h:53
kPROOF_GOASYNC
@ kPROOF_GOASYNC
Definition
MessageTypes.h:96
kPROOF_PARALLEL
@ kPROOF_PARALLEL
Definition
MessageTypes.h:55
kROOTD_OPEN
@ kROOTD_OPEN
Definition
MessageTypes.h:106
kPROOF_LOGLEVEL
@ kPROOF_LOGLEVEL
Definition
MessageTypes.h:44
kMESS_NOTOK
@ kMESS_NOTOK
Definition
MessageTypes.h:33
kROOTD_LSDIR
@ kROOTD_LSDIR
Definition
MessageTypes.h:120
kPROOF_SENDOUTPUT
@ kPROOF_SENDOUTPUT
Definition
MessageTypes.h:99
kPROOF_SESSIONTAG
@ kPROOF_SESSIONTAG
Definition
MessageTypes.h:79
kPROOF_RETRIEVE
@ kPROOF_RETRIEVE
Definition
MessageTypes.h:73
kROOTD_STAT
@ kROOTD_STAT
Definition
MessageTypes.h:111
kROOTD_CHMOD
@ kROOTD_CHMOD
Definition
MessageTypes.h:124
kROOTD_BYE
@ kROOTD_BYE
Definition
MessageTypes.h:126
kPROOF_AUTOBIN
@ kPROOF_AUTOBIN
Definition
MessageTypes.h:58
kPROOF_TOUCH
@ kPROOF_TOUCH
Definition
MessageTypes.h:94
kPROOF_GETOBJECT
@ kPROOF_GETOBJECT
Definition
MessageTypes.h:51
kMESS_OBJECT
@ kMESS_OBJECT
Definition
MessageTypes.h:35
kPROOF_STOPPROCESS
@ kPROOF_STOPPROCESS
Definition
MessageTypes.h:63
kPROOF_VERSARCHCOMP
@ kPROOF_VERSARCHCOMP
Definition
MessageTypes.h:92
kPROOF_LOGFILE
@ kPROOF_LOGFILE
Definition
MessageTypes.h:45
kROOTD_CHDIR
@ kROOTD_CHDIR
Definition
MessageTypes.h:117
kPROOF_REMOVE
@ kPROOF_REMOVE
Definition
MessageTypes.h:75
kMESS_ACK
@ kMESS_ACK
Definition
MessageTypes.h:29
kROOTD_NEGOTIA
@ kROOTD_NEGOTIA
Definition
MessageTypes.h:128
kPROOF_FATAL
@ kPROOF_FATAL
Definition
MessageTypes.h:43
kROOTD_GET
@ kROOTD_GET
Definition
MessageTypes.h:108
kROOTD_GETFILE
@ kROOTD_GETFILE
Definition
MessageTypes.h:116
kPROOF_OUTPUTOBJECT
@ kPROOF_OUTPUTOBJECT
Definition
MessageTypes.h:89
kROOTD_OPENDIR
@ kROOTD_OPENDIR
Definition
MessageTypes.h:131
kROOTD_PUT
@ kROOTD_PUT
Definition
MessageTypes.h:107
kPROOF_REALTIMELOG
@ kPROOF_REALTIMELOG
Definition
MessageTypes.h:91
kPROOF_SUBMERGER
@ kPROOF_SUBMERGER
Definition
MessageTypes.h:97
kROOTD_PROTOCOL
@ kROOTD_PROTOCOL
Definition
MessageTypes.h:114
kROOTD_DIRENTRY
@ kROOTD_DIRENTRY
Definition
MessageTypes.h:133
kPROOF_QUERYSUBMITTED
@ kPROOF_QUERYSUBMITTED
Definition
MessageTypes.h:78
kROOTD_PROTOCOL2
@ kROOTD_PROTOCOL2
Definition
MessageTypes.h:125
kPROOF_ARCHIVE
@ kPROOF_ARCHIVE
Definition
MessageTypes.h:74
kROOTD_AUTH
@ kROOTD_AUTH
Definition
MessageTypes.h:104
kROOTD_MV
@ kROOTD_MV
Definition
MessageTypes.h:122
kROOTD_FREEDIR
@ kROOTD_FREEDIR
Definition
MessageTypes.h:132
kPROOF_SENDFILE
@ kPROOF_SENDFILE
Definition
MessageTypes.h:54
kPROOF_GETENTRIES
@ kPROOF_GETENTRIES
Definition
MessageTypes.h:60
kPROOF_ECHO
@ kPROOF_ECHO
Definition
MessageTypes.h:98
kPROOF_HOSTAUTH
@ kPROOF_HOSTAUTH
Definition
MessageTypes.h:64
kMESS_PROCESSID
@ kMESS_PROCESSID
Definition
MessageTypes.h:38
kPROOF_GETPACKET
@ kPROOF_GETPACKET
Definition
MessageTypes.h:52
kPROOF_WORKERLISTS
@ kPROOF_WORKERLISTS
Definition
MessageTypes.h:87
kPROOF_OUTPUTLIST
@ kPROOF_OUTPUTLIST
Definition
MessageTypes.h:57
kPROOF_RESET
@ kPROOF_RESET
Definition
MessageTypes.h:50
kPROOF_GETPARALLEL
@ kPROOF_GETPARALLEL
Definition
MessageTypes.h:69
kPROOF_PRINT
@ kPROOF_PRINT
Definition
MessageTypes.h:49
kPROOF_FEEDBACK
@ kPROOF_FEEDBACK
Definition
MessageTypes.h:62
kPROOF_SERVERSTARTED
@ kPROOF_SERVERSTARTED
Definition
MessageTypes.h:82
kROOTD_ERR
@ kROOTD_ERR
Definition
MessageTypes.h:113
kROOTD_CLOSE
@ kROOTD_CLOSE
Definition
MessageTypes.h:110
kPROOF_DATASET_STATUS
@ kPROOF_DATASET_STATUS
Definition
MessageTypes.h:88
kPROOF_SETENV
@ kPROOF_SETENV
Definition
MessageTypes.h:90
kPROOF_LIB_INC_PATH
@ kPROOF_LIB_INC_PATH
Definition
MessageTypes.h:86
kPROOF_FORK
@ kPROOF_FORK
Definition
MessageTypes.h:95
kPROOF_CACHE
@ kPROOF_CACHE
Definition
MessageTypes.h:59
kPROOF_MESSAGE
@ kPROOF_MESSAGE
Definition
MessageTypes.h:85
kPROOF_LOGDONE
@ kPROOF_LOGDONE
Definition
MessageTypes.h:46
kMESS_STREAMERINFO
@ kMESS_STREAMERINFO
Definition
MessageTypes.h:37
kPROOF_DATASETS
@ kPROOF_DATASETS
Definition
MessageTypes.h:83
kROOTD_FLUSH
@ kROOTD_FLUSH
Definition
MessageTypes.h:109
kROOTD_RM
@ kROOTD_RM
Definition
MessageTypes.h:123
kROOTD_PUTFILE
@ kROOTD_PUTFILE
Definition
MessageTypes.h:115
kROOTD_GETS
@ kROOTD_GETS
Definition
MessageTypes.h:135
kMESS_CINT
@ kMESS_CINT
Definition
MessageTypes.h:36
kROOTD_RMDIR
@ kROOTD_RMDIR
Definition
MessageTypes.h:119
kPROOF_ENDINIT
@ kPROOF_ENDINIT
Definition
MessageTypes.h:93
kPROOF_PACKAGE_LIST
@ kPROOF_PACKAGE_LIST
Definition
MessageTypes.h:84
kPROOF_GETOUTPUTLIST
@ kPROOF_GETOUTPUTLIST
Definition
MessageTypes.h:67
kPROOF_SETIDLE
@ kPROOF_SETIDLE
Definition
MessageTypes.h:77
kPROOF_STARTPROCESS
@ kPROOF_STARTPROCESS
Definition
MessageTypes.h:76
kPROOF_GETSLAVEINFO
@ kPROOF_GETSLAVEINFO
Definition
MessageTypes.h:65
kPROOF_MAXQUERIES
@ kPROOF_MAXQUERIES
Definition
MessageTypes.h:80
kPROOF_CLEANUPSESSION
@ kPROOF_CLEANUPSESSION
Definition
MessageTypes.h:81
kROOTD_CLEANUP
@ kROOTD_CLEANUP
Definition
MessageTypes.h:127
kPROOF_STOP
@ kPROOF_STOP
Definition
MessageTypes.h:42
kMESS_ZIP
@ kMESS_ZIP
Definition
MessageTypes.h:28
kPROOF_GROUPVIEW
@ kPROOF_GROUPVIEW
Definition
MessageTypes.h:41
kROOTD_ACCESS
@ kROOTD_ACCESS
Definition
MessageTypes.h:134
core
base
inc
MessageTypes.h
ROOT v6-32 - Reference Guide Generated on Fri Jul 19 2024 14:11:09 (GVA Time) using Doxygen 1.9.8