xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdRootd
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
26
class
XrdRootdProtocol
:
XrdProtocol
27
{
28
public
:
29
30
void
DoIt
() {}
31
32
XrdProtocol
*
Match
(
XrdLink
*lp);
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
40
XrdRootdProtocol
(
XrdProtocol_Config
*pi,
41
const
char
*pgm,
const
char
**pap);
42
~XrdRootdProtocol
() {}
// Never gets destroyed
43
44
private
:
45
46
XrdScheduler
*
Scheduler
;
47
const
char
*
Program
;
48
const
char
**
ProgArg
;
49
XrdSysError
*
eDest
;
50
XrdOucTrace
*
XrdTrace
;
51
int
stderrFD
;
52
int
ReadWait
;
53
static
int
Count
;
54
static
const
char
*
TraceID
;
55
};
56
#endif
Generated by
1.8.1.2