XrdCmsJob Class Reference

#include <XrdCmsJob.hh>

Inheritance diagram for XrdCmsJob:

XrdJob List of all members.

Public Member Functions

void DoIt ()
void Recycle ()
 XrdCmsJob ()
 ~XrdCmsJob ()

Static Public Member Functions

static XrdCmsJobAlloc (XrdCmsProtocol *, XrdCmsRRData *)

Private Attributes

XrdCmsJobJobLink
XrdCmsProtocoltheProto
XrdCmsRRDatatheData

Static Private Attributes

static XrdSysMutex JobMutex
static XrdCmsJobJobStack

Detailed Description

Definition at line 24 of file XrdCmsJob.hh.


Constructor & Destructor Documentation

XrdCmsJob::XrdCmsJob (  )  [inline]

Definition at line 34 of file XrdCmsJob.hh.

Referenced by Alloc().

XrdCmsJob::~XrdCmsJob (  )  [inline]

Definition at line 35 of file XrdCmsJob.hh.


Member Function Documentation

XrdCmsJob * XrdCmsJob::Alloc ( XrdCmsProtocol ,
XrdCmsRRData  
) [static]

Definition at line 48 of file XrdCmsJob.cc.

References XrdJob::Comment, XrdSysError::Emsg(), JobLink, JobMutex, JobStack, XrdCmsProtocol::Link, XrdSysMutex::Lock(), XrdCmsProtocol::myRole, XrdLink::Name(), XrdFrm::Say(), XrdLink::setRef(), theData, theProto, XrdSysMutex::UnLock(), and XrdCmsJob().

Referenced by XrdCmsProtocol::Dispatch().

void XrdCmsJob::DoIt (  )  [virtual]

Implements XrdJob.

Definition at line 77 of file XrdCmsJob.cc.

References EINPROGRESS, XrdCmsProtocol::Execute(), Recycle(), XrdCms::Sched, XrdScheduler::Schedule(), theData, theProto, and XrdCmsRRData::waitVal.

void XrdCmsJob::Recycle (  ) 

Definition at line 94 of file XrdCmsJob.cc.

References JobLink, JobMutex, JobStack, XrdCmsProtocol::Link, XrdSysMutex::Lock(), XrdCmsRRData::Objectify(), XrdLink::setRef(), theData, theProto, and XrdSysMutex::UnLock().

Referenced by DoIt().


Member Data Documentation

XrdSysMutex XrdCmsJob::JobMutex [static, private]

Definition at line 39 of file XrdCmsJob.hh.

Referenced by Alloc(), and Recycle().

XrdCmsJob * XrdCmsJob::JobStack [static, private]

Definition at line 40 of file XrdCmsJob.hh.

Referenced by Alloc(), and Recycle().

XrdCmsJob* XrdCmsJob::JobLink [private]

Definition at line 41 of file XrdCmsJob.hh.

Referenced by Alloc(), and Recycle().

XrdCmsProtocol* XrdCmsJob::theProto [private]

Definition at line 43 of file XrdCmsJob.hh.

Referenced by Alloc(), DoIt(), and Recycle().

XrdCmsRRData* XrdCmsJob::theData [private]

Definition at line 44 of file XrdCmsJob.hh.

Referenced by Alloc(), DoIt(), and Recycle().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:19 2011 for ROOT_528-00b_version by  doxygen 1.5.1