xrootd
Loading...
Searching...
No Matches
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/* This file is part of the XRootD software suite. */
14/* */
15/* XRootD is free software: you can redistribute it and/or modify it under */
16/* the terms of the GNU Lesser General Public License as published by the */
17/* Free Software Foundation, either version 3 of the License, or (at your */
18/* option) any later version. */
19/* */
20/* XRootD is distributed in the hope that it will be useful, but WITHOUT */
21/* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
22/* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public */
23/* License for more details. */
24/* */
25/* You should have received a copy of the GNU Lesser General Public License */
26/* along with XRootD in a file called COPYING.LESSER (LGPL license) and file */
27/* COPYING (GPL license). If not, see <http://www.gnu.org/licenses/>. */
28/* */
29/* The copyright holder's institutional names and contributor's names may not */
30/* be used to endorse or promote products derived from this software without */
31/* specific prior written permission of the institution or contributor. */
32/******************************************************************************/
33
35
36#include "Xrd/XrdJob.hh"
38
39class XrdCmsProtocol;
40class XrdCmsRRData;
41
42class XrdCmsJob : public XrdJob
43{
44public:
45
47
48 void DoIt();
49
50 void Recycle();
51
52 XrdCmsJob() : XrdJob("cms request job"), JobLink(0) {}
54
55private:
56
60
63};
64#endif
Definition XrdCmsJob.hh:43
static XrdSysMutex JobMutex
Definition XrdCmsJob.hh:57
~XrdCmsJob()
Definition XrdCmsJob.hh:53
static XrdCmsJob * JobStack
Definition XrdCmsJob.hh:58
void Recycle()
XrdCmsProtocol * theProto
Definition XrdCmsJob.hh:61
XrdCmsJob()
Definition XrdCmsJob.hh:52
static XrdCmsJob * Alloc(XrdCmsProtocol *, XrdCmsRRData *)
XrdCmsRRData * theData
Definition XrdCmsJob.hh:62
void DoIt()
XrdCmsJob * JobLink
Definition XrdCmsJob.hh:59
Definition XrdCmsProtocol.hh:45
Definition XrdCmsRRData.hh:52
Definition XrdJob.hh:43
Definition XrdSysPthread.hh:165