xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdCms
XrdCmsJob.hh
Go to the documentation of this file.
1
#ifndef __CMS_JOB_H__
2
#define __CMS_JOB_H__
3
/******************************************************************************/
4
/* */
5
/* X r d C m s J o b . h h */
6
/* */
7
/* */
8
/* (c) 2007 by the Board of Trustees of the Leland Stanford, Jr., University */
9
/* All Rights Reserved */
10
/* Produced by Andrew Hanushevsky for Stanford University under contract */
11
/* DE-AC02-76-SFO0515 with the Department of Energy */
12
/******************************************************************************/
13
14
// $Id$
15
16
#include "
XProtocol/YProtocol.hh
"
17
18
#include "
Xrd/XrdJob.hh
"
19
#include "
XrdSys/XrdSysPthread.hh
"
20
21
class
XrdCmsProtocol
;
22
class
XrdCmsRRData
;
23
24
class
XrdCmsJob
:
public
XrdJob
25
{
26
public
:
27
28
static
XrdCmsJob
*
Alloc
(
XrdCmsProtocol
*,
XrdCmsRRData
*);
29
30
void
DoIt
();
31
32
void
Recycle
();
33
34
XrdCmsJob
() :
XrdJob
(
"cms request job"
),
JobLink
(0) {}
35
~XrdCmsJob
() {}
36
37
private
:
38
39
static
XrdSysMutex
JobMutex
;
40
static
XrdCmsJob
*
JobStack
;
41
XrdCmsJob
*
JobLink
;
42
43
XrdCmsProtocol
*
theProto
;
44
XrdCmsRRData
*
theData
;
45
};
46
#endif
Generated by
1.8.1.2