|
|
|||
File indexing completed on 2025-12-13 10:27:31
0001 /* @(#)root/base:$Id$ */ 0002 0003 /************************************************************************* 0004 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 0005 * All rights reserved. * 0006 * * 0007 * For the licensing terms see $ROOTSYS/LICENSE. * 0008 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0009 *************************************************************************/ 0010 0011 #ifndef ROOT_MessageTypes 0012 #define ROOT_MessageTypes 0013 0014 0015 ////////////////////////////////////////////////////////////////////////// 0016 // // 0017 // MessageTypes // 0018 // // 0019 // System predefined message types. Message types are constants that // 0020 // indicate what kind of message it is. Make sure your own message // 0021 // types don't clash whith the ones defined in this file. ROOT reserves // 0022 // all message ids between 0 - 10000. Make sure your message // 0023 // id < 200000000. // 0024 // // 0025 ////////////////////////////////////////////////////////////////////////// 0026 0027 enum EMessageTypes { 0028 kMESS_ZIP = 0x20000000, //OR with kMESS_ZIP to compress message 0029 kMESS_ACK = 0x10000000, //OR with kMESS_ACK to force each 0030 //message to be acknowledged 0031 kMESS_ANY = 0, //generic message type 0032 kMESS_OK = 1, //everything OK 0033 kMESS_NOTOK = 2, //things are NOT OK 0034 kMESS_STRING = 3, //string follows 0035 kMESS_OBJECT = 4, //object follows 0036 kMESS_CINT = 5, //cint command follows 0037 kMESS_STREAMERINFO = 6, //TStreamerInfo object follows 0038 kMESS_PROCESSID = 7, //TProcessID object follows 0039 0040 //---- ROOTD message opcodes (2000 - 2099) 0041 kROOTD_USER = 2000, //user id follows 0042 kROOTD_PASS = 2001, //passwd follows 0043 kROOTD_AUTH = 2002, //authorization status (to client) 0044 kROOTD_FSTAT = 2003, //filename follows 0045 kROOTD_OPEN = 2004, //filename follows + mode 0046 kROOTD_PUT = 2005, //offset, number of bytes and buffer 0047 kROOTD_GET = 2006, //offset, number of bytes 0048 kROOTD_FLUSH = 2007, //flush file 0049 kROOTD_CLOSE = 2008, //close file 0050 kROOTD_STAT = 2009, //return rootd statistics 0051 kROOTD_ACK = 2010, //acknowledgement (all OK) 0052 kROOTD_ERR = 2011, //error code and message follow 0053 kROOTD_PROTOCOL = 2012, //returns rootd protocol 0054 kROOTD_PUTFILE = 2020, //store file 0055 kROOTD_GETFILE = 2021, //retrieve file 0056 kROOTD_CHDIR = 2022, //change directory 0057 kROOTD_MKDIR = 2023, //make directory 0058 kROOTD_RMDIR = 2024, //delete directory 0059 kROOTD_LSDIR = 2025, //list directory 0060 kROOTD_PWD = 2026, //pwd 0061 kROOTD_MV = 2027, //rename file 0062 kROOTD_RM = 2028, //delete file 0063 kROOTD_CHMOD = 2029, //change permission 0064 kROOTD_PROTOCOL2 = 2031, //client proto follows, returns rootd proto 0065 kROOTD_BYE = 2032, //terminate rootd 0066 kROOTD_CLEANUP = 2034, //cleanup things 0067 kROOTD_NEGOTIA = 2037, //negotiation follows 0068 kROOTD_RSAKEY = 2038, //RSA public key exchange 0069 kROOTD_ENCRYPT = 2039, //an encrypted message follows 0070 kROOTD_OPENDIR = 2040, //open directory 0071 kROOTD_FREEDIR = 2041, //free directory 0072 kROOTD_DIRENTRY = 2042, //get directory entry 0073 kROOTD_ACCESS = 2043, //test Access 0074 kROOTD_GETS = 2044 //multiple offset, number of byte pairs 0075 }; 0076 0077 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|