xrootd
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 
34 #include "XProtocol/YProtocol.hh"
35 
36 #include "Xrd/XrdJob.hh"
37 #include "XrdSys/XrdSysPthread.hh"
38 
39 class XrdCmsProtocol;
40 class XrdCmsRRData;
41 
42 class XrdCmsJob : public XrdJob
43 {
44 public:
45 
47 
48  void DoIt();
49 
50  void Recycle();
51 
52  XrdCmsJob() : XrdJob("cms request job"), JobLink(0) {}
54 
55 private:
56 
60 
63 };
64 #endif
void Recycle()
XrdCmsRRData * theData
Definition: XrdCmsJob.hh:62
static XrdCmsJob * Alloc(XrdCmsProtocol *, XrdCmsRRData *)
~XrdCmsJob()
Definition: XrdCmsJob.hh:53
static XrdSysMutex JobMutex
Definition: XrdCmsJob.hh:57
Definition: XrdSysPthread.hh:165
XrdCmsProtocol * theProto
Definition: XrdCmsJob.hh:61
XrdCmsJob * JobLink
Definition: XrdCmsJob.hh:59
Definition: XrdCmsRRData.hh:51
Definition: XrdCmsProtocol.hh:44
XrdCmsJob()
Definition: XrdCmsJob.hh:52
void DoIt()
Definition: XrdCmsJob.hh:42
static XrdCmsJob * JobStack
Definition: XrdCmsJob.hh:58
Definition: XrdJob.hh:42