![]() |
XRootD
|
Public Member Functions | |
PrepGPI (PrepGRun &gRun) | |
virtual | ~PrepGPI () |
int | begin (XrdSfsPrep &pargs, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) override |
int | cancel (XrdSfsPrep &pargs, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) override |
int | query (XrdSfsPrep &pargs, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0) override |
![]() | |
XrdOfsPrepare () | |
Constructor. More... | |
virtual | ~XrdOfsPrepare () |
Destructor. More... | |
Definition at line 331 of file XrdOfsPrepGPI.cc.
|
inline |
Definition at line 347 of file XrdOfsPrepGPI.cc.
|
inlinevirtual |
Definition at line 349 of file XrdOfsPrepGPI.cc.
|
overridevirtual |
Execute a prepare request.
pargs | - The prepare arguments (see XrdSfsInterface.hh). |
eInfo | - The object where error or data response is to be returned. |
client | - Client's identify (may be null). |
Implements XrdOfsPrepare.
Definition at line 528 of file XrdOfsPrepGPI.cc.
References XrdOfsPrepGPIReal::PrepRequest::argMem, XrdOfsPrepGPIReal::okEvict, XrdOfsPrepGPIReal::okPrep, XrdOfsPrepGPIReal::okReq, XrdOfsPrepGPIReal::okStage, XrdSfsPrep::opts, Prep_EVICT, Prep_STAGE, and XrdSecEntity::tident.
|
overridevirtual |
Cancel a preveious prepare request.
pargs | - The prepare arguments (see XrdSfsInterface.hh). The pargs.reqid points to the "requestID" associated with the previously issued prepare request. |
eInfo | - The object where error or data response is to be returned. |
client | - Client's identify (may be null). |
Implements XrdOfsPrepare.
Definition at line 578 of file XrdOfsPrepGPI.cc.
References XrdOucErrInfo::getMsgBuff(), XrdOfsPrepGPIReal::okCancel, XrdOfsPrepGPIReal::okReq, XrdSfsPrep::reqid, XrdOucErrInfo::setErrCode(), SFS_DATA, and XrdSecEntity::tident.
|
overridevirtual |
Query a preveious prepare request.
pargs | - The prepare arguments (see XrdSfsInterface.hh). The pargs.reqid points to the "requestID" associated with the previously issued prepare request. |
eInfo | - The object where error or data response is to be returned. |
client | - Client's identify (may be null). |
Implements XrdOfsPrepare.
Definition at line 621 of file XrdOfsPrepGPI.cc.
References XrdOucBuffPool::Alloc(), XrdOfsPrepGPIReal::bPool, XrdOucBuffer::Buffer(), DEBUG, EPNAME, XrdOucErrInfo::getMsgBuff(), XrdSysCondVar::Lock(), XrdOfsPrepGPIReal::maxResp, XrdOfsPrepGPIReal::okQuery, XrdOfsPrepGPIReal::okReq, XrdOfsPrepGPIReal::qryAllow, XrdOfsPrepGPIReal::qryCond, XrdOfsPrepGPIReal::qryMaxWT, XrdOfsPrepGPIReal::qryWait, XrdOucBuffer::Recycle(), XrdOfsPrepGPIReal::PrepRequest::reqID, XrdSfsPrep::reqid, XrdOfsPrepGPIReal::PrepGRun::Run(), XrdOucErrInfo::setErrCode(), XrdOucErrInfo::setErrInfo(), SFS_DATA, XrdSysCondVar::Signal(), XrdSecEntity::tident, XrdSysCondVar::UnLock(), and XrdSysCondVar::Wait().