XrdCmsPrepArgs Class Reference

#include <XrdCmsPrepArgs.hh>

Inheritance diagram for XrdCmsPrepArgs:

XrdJob List of all members.

Public Member Functions

void DoIt ()
void Queue ()
 XrdCmsPrepArgs (XrdCmsRRData &Arg)
 ~XrdCmsPrepArgs ()

Static Public Member Functions

static void Process ()
static XrdCmsPrepArgsgetRequest ()

Public Attributes

XrdCms::CmsRRHdr Request
char * Ident
char * reqid
char * notify
char * prty
char * mode
char * path
char * opaque
char * clPath
int options
int pathlen
iovec ioV [iovNum]

Static Public Attributes

static const int iovNum = 2

Private Attributes

XrdCmsPrepArgsNext
char * Data

Static Private Attributes

static XrdSysMutex PAQueue
static XrdSysSemaphore PAReady
static XrdCmsPrepArgsFirst
static XrdCmsPrepArgsLast
static int isIdle

Detailed Description

Definition at line 22 of file XrdCmsPrepArgs.hh.


Constructor & Destructor Documentation

XrdCmsPrepArgs::XrdCmsPrepArgs ( XrdCmsRRData Arg  ) 

Definition at line 42 of file XrdCmsPrepArgs.cc.

References XrdCmsRRData::Blen, XrdCmsRRData::Buff, clPath, Data, XrdCmsRRData::Dlen, Ident, XrdCmsRRData::Ident, ioV, iovec::iov_base, iovec::iov_len, XrdCmsRRData::Mode, mode, XrdCms::CmsRRHdr::modifier, notify, XrdCmsRRData::Notify, opaque, XrdCmsRRData::Opaque, options, XrdCmsRRData::Path, path, XrdCmsRRData::PathLen, pathlen, XrdCmsRRData::Prty, prty, XrdCmsRRData::Reqid, reqid, Request, XrdCmsRRData::Request, and XrdCms::CmsRRHdr::streamid.

XrdCmsPrepArgs::~XrdCmsPrepArgs (  )  [inline]

Definition at line 51 of file XrdCmsPrepArgs.hh.

References Data, and free().


Member Function Documentation

void XrdCmsPrepArgs::DoIt (  )  [inline, virtual]

Implements XrdJob.

Definition at line 41 of file XrdCmsPrepArgs.hh.

References XrdCmsNode::do_SelPrep().

Referenced by Process().

void XrdCmsPrepArgs::Process (  )  [static]

Definition at line 103 of file XrdCmsPrepArgs.cc.

References XrdFrm::Config(), DoIt(), getRequest(), XrdCmsPrepare::Prepare(), and XrdCms::PrepQ.

Referenced by XrdCmsStartPreparing().

void XrdCmsPrepArgs::Queue (  ) 

Definition at line 125 of file XrdCmsPrepArgs.cc.

References First, isIdle, Last, XrdSysMutex::Lock(), Next, PAQueue, PAReady, XrdSysSemaphore::Post(), and XrdSysMutex::UnLock().

XrdCmsPrepArgs * XrdCmsPrepArgs::getRequest (  )  [static]

Definition at line 80 of file XrdCmsPrepArgs.cc.

References First, isIdle, Last, XrdSysMutex::Lock(), Next, PAQueue, PAReady, XrdSysMutex::UnLock(), and XrdSysSemaphore::Wait().

Referenced by Process().


Member Data Documentation

const int XrdCmsPrepArgs::iovNum = 2 [static]

Definition at line 25 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsNode::do_SelPrep().

XrdCms::CmsRRHdr XrdCmsPrepArgs::Request

Definition at line 27 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsPrepArgs().

char* XrdCmsPrepArgs::Ident

Definition at line 28 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsPrepare::Add(), XrdCmsPrepare::Inform(), XrdCmsPrepare::Prepare(), and XrdCmsPrepArgs().

char* XrdCmsPrepArgs::reqid

Definition at line 29 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsPrepare::Add(), XrdCmsNode::do_SelPrep(), XrdCmsPrepare::Inform(), XrdCmsPrepare::Prepare(), and XrdCmsPrepArgs().

char* XrdCmsPrepArgs::notify

Definition at line 30 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsPrepare::Add(), XrdCmsPrepare::Inform(), XrdCmsPrepare::Prepare(), and XrdCmsPrepArgs().

char* XrdCmsPrepArgs::prty

Definition at line 31 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsPrepare::Add(), XrdCmsPrepare::Prepare(), and XrdCmsPrepArgs().

char* XrdCmsPrepArgs::mode

Definition at line 32 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsPrepare::Add(), XrdCmsPrepare::Inform(), XrdCmsPrepare::Prepare(), and XrdCmsPrepArgs().

char* XrdCmsPrepArgs::path

Definition at line 33 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsPrepare::Add(), XrdCmsNode::do_SelPrep(), XrdCmsPrepare::Inform(), XrdCmsPrepare::Prepare(), and XrdCmsPrepArgs().

char* XrdCmsPrepArgs::opaque

Definition at line 34 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsPrepare::Add(), XrdCmsNode::do_SelPrep(), and XrdCmsPrepArgs().

char* XrdCmsPrepArgs::clPath

Definition at line 35 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsNode::do_SelPrep(), and XrdCmsPrepArgs().

int XrdCmsPrepArgs::options

Definition at line 36 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsNode::do_SelPrep(), and XrdCmsPrepArgs().

int XrdCmsPrepArgs::pathlen

Definition at line 37 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsNode::do_SelPrep(), XrdCmsPrepare::Inform(), and XrdCmsPrepArgs().

struct iovec XrdCmsPrepArgs::ioV[iovNum]

Definition at line 39 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsNode::do_SelPrep(), and XrdCmsPrepArgs().

XrdSysMutex XrdCmsPrepArgs::PAQueue [static, private]

Definition at line 55 of file XrdCmsPrepArgs.hh.

Referenced by getRequest(), and Queue().

XrdSysSemaphore XrdCmsPrepArgs::PAReady [static, private]

Definition at line 56 of file XrdCmsPrepArgs.hh.

Referenced by getRequest(), and Queue().

XrdCmsPrepArgs* XrdCmsPrepArgs::Next [private]

Definition at line 57 of file XrdCmsPrepArgs.hh.

Referenced by getRequest(), and Queue().

XrdCmsPrepArgs * XrdCmsPrepArgs::First [static, private]

Definition at line 58 of file XrdCmsPrepArgs.hh.

Referenced by getRequest(), and Queue().

XrdCmsPrepArgs * XrdCmsPrepArgs::Last [static, private]

Definition at line 59 of file XrdCmsPrepArgs.hh.

Referenced by getRequest(), and Queue().

int XrdCmsPrepArgs::isIdle [static, private]

Definition at line 60 of file XrdCmsPrepArgs.hh.

Referenced by getRequest(), and Queue().

char* XrdCmsPrepArgs::Data [private]

Definition at line 61 of file XrdCmsPrepArgs.hh.

Referenced by XrdCmsPrepArgs(), and ~XrdCmsPrepArgs().


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