ROOT
6.12/07
Reference Guide
core
base
inc
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_SRPUSER
= 2013,
//user id for SRP authentication follows
116
kROOTD_SRPN
= 2014,
//SRP n follows
117
kROOTD_SRPG
= 2015,
//SRP g follows
118
kROOTD_SRPSALT
= 2016,
//SRP salt follows
119
kROOTD_SRPA
= 2017,
//SRP a follows
120
kROOTD_SRPB
= 2018,
//SRP b follows
121
kROOTD_SRPRESPONSE
= 2019,
//SRP final response
122
kROOTD_PUTFILE
= 2020,
//store file
123
kROOTD_GETFILE
= 2021,
//retrieve file
124
kROOTD_CHDIR
= 2022,
//change directory
125
kROOTD_MKDIR
= 2023,
//make directory
126
kROOTD_RMDIR
= 2024,
//delete directory
127
kROOTD_LSDIR
= 2025,
//list directory
128
kROOTD_PWD
= 2026,
//pwd
129
kROOTD_MV
= 2027,
//rename file
130
kROOTD_RM
= 2028,
//delete file
131
kROOTD_CHMOD
= 2029,
//change permission
132
kROOTD_KRB5
= 2030,
//krb5 authentication follows
133
kROOTD_PROTOCOL2
= 2031,
//client proto follows, returns rootd proto
134
kROOTD_BYE
= 2032,
//terminate rootd
135
kROOTD_GLOBUS
= 2033,
//Globus authetication follows
136
kROOTD_CLEANUP
= 2034,
//cleanup things
137
kROOTD_SSH
= 2035,
//SSH-like authentication follows
138
kROOTD_RFIO
= 2036,
//RFIO-like authentication follows
139
kROOTD_NEGOTIA
= 2037,
//negotiation follows
140
kROOTD_RSAKEY
= 2038,
//RSA public key exchange
141
kROOTD_ENCRYPT
= 2039,
//an encrypted message follows
142
kROOTD_OPENDIR
= 2040,
//open directory
143
kROOTD_FREEDIR
= 2041,
//free directory
144
kROOTD_DIRENTRY
= 2042,
//get directory entry
145
kROOTD_ACCESS
= 2043,
//test Access
146
kROOTD_GETS
= 2044
//multiple offset, number of byte pairs
147
};
148
149
#endif
kPROOF_AUTOBIN
Definition:
MessageTypes.h:58
kPROOF_STOPPROCESS
Definition:
MessageTypes.h:63
kPROOF_SENDOUTPUT
Definition:
MessageTypes.h:99
kPROOF_VALIDATE_DSET
Definition:
MessageTypes.h:70
kPROOF_LOGFILE
Definition:
MessageTypes.h:45
kPROOF_DATA_READY
Definition:
MessageTypes.h:71
kPROOF_MAXQUERIES
Definition:
MessageTypes.h:80
kPROOF_PROCESS
Definition:
MessageTypes.h:56
kROOTD_GET
Definition:
MessageTypes.h:108
kROOTD_LSDIR
Definition:
MessageTypes.h:127
kMESS_ACK
Definition:
MessageTypes.h:29
kPROOF_GETSTATS
Definition:
MessageTypes.h:68
kROOTD_SRPUSER
Definition:
MessageTypes.h:115
kMESS_OK
Definition:
MessageTypes.h:32
kROOTD_STAT
Definition:
MessageTypes.h:111
kROOTD_MKDIR
Definition:
MessageTypes.h:125
kPROOF_LOGDONE
Definition:
MessageTypes.h:46
kROOTD_FSTAT
Definition:
MessageTypes.h:105
kMESS_ZIP
Definition:
MessageTypes.h:28
kPROOF_STATUS
Definition:
MessageTypes.h:47
kROOTD_OPEN
Definition:
MessageTypes.h:106
kPROOF_DATASET_STATUS
Definition:
MessageTypes.h:88
kPROOF_OUTPUTLIST
Definition:
MessageTypes.h:57
kPROOF_RESET
Definition:
MessageTypes.h:50
kROOTD_SRPB
Definition:
MessageTypes.h:120
kPROOF_QUERYSUBMITTED
Definition:
MessageTypes.h:78
kMESS_STRING
Definition:
MessageTypes.h:34
kPROOF_PROGRESS
Definition:
MessageTypes.h:61
kPROOF_GETSLAVEINFO
Definition:
MessageTypes.h:65
kROOTD_SRPSALT
Definition:
MessageTypes.h:118
kPROOF_CHECKFILE
Definition:
MessageTypes.h:53
kROOTD_PASS
Definition:
MessageTypes.h:103
kROOTD_AUTH
Definition:
MessageTypes.h:104
kPROOF_GETOUTPUTLIST
Definition:
MessageTypes.h:67
kROOTD_ACK
Definition:
MessageTypes.h:112
kPROOF_PACKAGE_LIST
Definition:
MessageTypes.h:84
kPROOF_SENDFILE
Definition:
MessageTypes.h:54
kPROOF_FATAL
Definition:
MessageTypes.h:43
kPROOF_VERSARCHCOMP
Definition:
MessageTypes.h:92
kROOTD_SRPRESPONSE
Definition:
MessageTypes.h:121
kMESS_CINT
Definition:
MessageTypes.h:36
kROOTD_ENCRYPT
Definition:
MessageTypes.h:141
kROOTD_NEGOTIA
Definition:
MessageTypes.h:139
kPROOF_ARCHIVE
Definition:
MessageTypes.h:74
kPROOF_QUERYLIST
Definition:
MessageTypes.h:72
kPROOF_PARALLEL
Definition:
MessageTypes.h:55
kPROOF_GETENTRIES
Definition:
MessageTypes.h:60
kPROOF_GROUPVIEW
Definition:
MessageTypes.h:41
kPROOF_FORK
Definition:
MessageTypes.h:95
kPROOF_HOSTAUTH
Definition:
MessageTypes.h:64
kROOTD_CLOSE
Definition:
MessageTypes.h:110
kPROOF_REALTIMELOG
Definition:
MessageTypes.h:91
kPROOF_SUBMERGER
Definition:
MessageTypes.h:97
kPROOF_GETOBJECT
Definition:
MessageTypes.h:51
kMESS_ANY
Definition:
MessageTypes.h:31
kROOTD_PROTOCOL
Definition:
MessageTypes.h:114
kROOTD_BYE
Definition:
MessageTypes.h:134
kPROOF_LOGLEVEL
Definition:
MessageTypes.h:44
kPROOF_SETENV
Definition:
MessageTypes.h:90
kPROOF_GETTREEHEADER
Definition:
MessageTypes.h:66
kPROOF_PRINT
Definition:
MessageTypes.h:49
kROOTD_PROTOCOL2
Definition:
MessageTypes.h:133
kPROOF_GOASYNC
Definition:
MessageTypes.h:96
kROOTD_RFIO
Definition:
MessageTypes.h:138
kPROOF_GETPACKET
Definition:
MessageTypes.h:52
kPROOF_FEEDBACK
Definition:
MessageTypes.h:62
kROOTD_FREEDIR
Definition:
MessageTypes.h:143
kPROOF_STOP
Definition:
MessageTypes.h:42
kROOTD_RSAKEY
Definition:
MessageTypes.h:140
kPROOF_WORKERLISTS
Definition:
MessageTypes.h:87
kROOTD_CHMOD
Definition:
MessageTypes.h:131
kROOTD_CLEANUP
Definition:
MessageTypes.h:136
kROOTD_GETFILE
Definition:
MessageTypes.h:123
EMessageTypes
EMessageTypes
Definition:
MessageTypes.h:27
kROOTD_OPENDIR
Definition:
MessageTypes.h:142
kPROOF_SESSIONTAG
Definition:
MessageTypes.h:79
kPROOF_GETPARALLEL
Definition:
MessageTypes.h:69
kMESS_PROCESSID
Definition:
MessageTypes.h:38
kROOTD_USER
Definition:
MessageTypes.h:102
kROOTD_FLUSH
Definition:
MessageTypes.h:109
kPROOF_REMOVE
Definition:
MessageTypes.h:75
kROOTD_KRB5
Definition:
MessageTypes.h:132
kMESS_NOTOK
Definition:
MessageTypes.h:33
kROOTD_PUT
Definition:
MessageTypes.h:107
kROOTD_RMDIR
Definition:
MessageTypes.h:126
kPROOF_CACHE
Definition:
MessageTypes.h:59
kROOTD_SRPG
Definition:
MessageTypes.h:117
kROOTD_RM
Definition:
MessageTypes.h:130
kPROOF_PING
Definition:
MessageTypes.h:48
kROOTD_SRPN
Definition:
MessageTypes.h:116
kROOTD_PWD
Definition:
MessageTypes.h:128
kPROOF_SERVERSTARTED
Definition:
MessageTypes.h:82
kMESS_OBJECT
Definition:
MessageTypes.h:35
kPROOF_SETIDLE
Definition:
MessageTypes.h:77
kPROOF_ECHO
Definition:
MessageTypes.h:98
kPROOF_MESSAGE
Definition:
MessageTypes.h:85
kPROOF_RETRIEVE
Definition:
MessageTypes.h:73
kPROOF_OUTPUTOBJECT
Definition:
MessageTypes.h:89
kROOTD_SRPA
Definition:
MessageTypes.h:119
kROOTD_DIRENTRY
Definition:
MessageTypes.h:144
kPROOF_STARTPROCESS
Definition:
MessageTypes.h:76
kPROOF_ENDINIT
Definition:
MessageTypes.h:93
kROOTD_CHDIR
Definition:
MessageTypes.h:124
kROOTD_SSH
Definition:
MessageTypes.h:137
kPROOF_TOUCH
Definition:
MessageTypes.h:94
kROOTD_MV
Definition:
MessageTypes.h:129
kPROOF_CLEANUPSESSION
Definition:
MessageTypes.h:81
kROOTD_PUTFILE
Definition:
MessageTypes.h:122
kPROOF_DATASETS
Definition:
MessageTypes.h:83
kROOTD_ACCESS
Definition:
MessageTypes.h:145
kMESS_STREAMERINFO
Definition:
MessageTypes.h:37
kPROOF_LIB_INC_PATH
Definition:
MessageTypes.h:86
kROOTD_ERR
Definition:
MessageTypes.h:113
kROOTD_GETS
Definition:
MessageTypes.h:146
kROOTD_GLOBUS
Definition:
MessageTypes.h:135