![]() |
XRootD
|
#include <XrdFrcProxy.hh>
Classes | |
class | Queues |
Public Member Functions | |
XrdFrcProxy (XrdSysLogger *lP, const char *iName, int Debug=0) | |
~XrdFrcProxy () | |
int | Add (char Opc, const char *Lfn, const char *Opq, const char *Usr, const char *Rid, const char *Nop, const char *Pop, int Prty=1) |
int | Del (char Opc, const char *Rid) |
int | Init (int opX, const char *aPath, int aMode, const char *qPath=0) |
int | List (int qType, int qPrty, XrdFrcRequest::Item *Items, int Num) |
int | List (Queues &State, char *Buff, int Bsz) |
Static Public Attributes | |
static const int | opAll = 15 |
static const int | opGet = 1 |
static const int | opMig = 4 |
static const int | opPut = 2 |
static const int | opStg = 8 |
Definition at line 39 of file XrdFrcProxy.hh.
XrdFrcProxy::XrdFrcProxy | ( | XrdSysLogger * | lP, |
const char * | iName, | ||
int | Debug = 0 |
||
) |
Definition at line 67 of file XrdFrcProxy.cc.
References Macaroons::Debug, XrdOucUtils::InstName(), XrdSysError::logger(), XrdFrc::Say, XrdFrc::Trace, TRACE_ALL, and XrdOucTrace::What.
|
inline |
Definition at line 74 of file XrdFrcProxy.hh.
int XrdFrcProxy::Add | ( | char | Opc, |
const char * | Lfn, | ||
const char * | Opq, | ||
const char * | Usr, | ||
const char * | Rid, | ||
const char * | Nop, | ||
const char * | Pop, | ||
int | Prty = 1 |
||
) |
Definition at line 95 of file XrdFrcProxy.cc.
References XrdFrcUtils::chkURL(), XrdFrcRequest::ID, XrdFrcRequest::LFN, XrdFrcRequest::LFO, XrdFrcUtils::MapM2O(), XrdFrcUtils::MapR2Q(), XrdFrcRequest::Notify, XrdFrcRequest::Opaque, XrdFrcRequest::OPc, XrdFrcRequest::Options, XrdFrcRequest::Prty, strlcpy(), and XrdFrcRequest::User.
Referenced by XrdCmsPrepare::Add(), and XrdOssSys::Stage_QT().
int XrdFrcProxy::Del | ( | char | Opc, |
const char * | Rid | ||
) |
Definition at line 150 of file XrdFrcProxy.cc.
References XrdFrcRequest::ID, XrdFrcUtils::MapR2Q(), and strlcpy().
Referenced by XrdCmsPrepare::Del().
int XrdFrcProxy::Init | ( | int | opX, |
const char * | aPath, | ||
int | aMode, | ||
const char * | qPath = 0 |
||
) |
Definition at line 229 of file XrdFrcProxy.cc.
References XrdFrcUtils::makePath().
Referenced by XrdOssSys::ConfigStage(), and XrdCmsPrepare::Reset().
int XrdFrcProxy::List | ( | int | qType, |
int | qPrty, | ||
XrdFrcRequest::Item * | Items, | ||
int | Num | ||
) |
Definition at line 205 of file XrdFrcProxy.cc.
int XrdFrcProxy::List | ( | XrdFrcProxy::Queues & | State, |
char * | Buff, | ||
int | Bsz | ||
) |
|
static |
Definition at line 53 of file XrdFrcProxy.hh.
|
static |
Definition at line 49 of file XrdFrcProxy.hh.
|
static |
Definition at line 51 of file XrdFrcProxy.hh.
|
static |
Definition at line 50 of file XrdFrcProxy.hh.
|
static |
Definition at line 52 of file XrdFrcProxy.hh.
Referenced by XrdOssSys::ConfigStage(), and XrdCmsPrepare::Reset().