Logo ROOT   6.12/07
Reference Guide
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 
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
EMessageTypes
Definition: MessageTypes.h:27