xrootd
XrdRootdProtocol.hh
Go to the documentation of this file.
1 #ifndef __XrdRootdProtocol_H__
2 #define __XrdRootdProtocol_H__
3 /******************************************************************************/
4 /* */
5 /* X r d R o o t d P r o t o c o l . h h */
6 /* */
7 /* (c) 2004 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* All Rights Reserved. See XrdInfo.cc for complete License Terms */
9 /* Produced by Andrew Hanushevsky for Stanford University under contract */
10 /* DE-AC03-76-SFO0515 with the Department of Energy */
11 /******************************************************************************/
12 
13 // $Id$
14 
15 #include "Xrd/XrdProtocol.hh"
16 
17 /******************************************************************************/
18 /* x r d _ P r o t o c o l _ R o o t d */
19 /******************************************************************************/
20 
21 class XrdSysError;
22 class XrdOucTrace;
23 class XrdLink;
24 class XrdScheduler;
25 
27 {
28 public:
29 
30  void DoIt() {}
31 
33 
34  int Process(XrdLink *lp) {return -1;}
35 
36  void Recycle(XrdLink *lp, int x, const char *y) {}
37 
38  int Stats(char *buff, int blen, int do_sync);
39 
41  const char *pgm, const char **pap);
42  ~XrdRootdProtocol() {} // Never gets destroyed
43 
44 private:
45 
47 const char *Program;
48 const char **ProgArg;
53 static int Count;
54 static const char *TraceID;
55 };
56 #endif