#include <XrdFrmProxy.hh>
List of all members.
Classes |
struct | o2qMap |
class | Queues |
Public Member Functions |
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 | List (Queues &State, char *Buff, int Bsz) |
int | List (int qType, int qPrty, XrdFrmRequest::Item *Items, int Num) |
int | Init (int opX, const char *aPath, int aMode, const char *qPath=0) |
| XrdFrmProxy (XrdSysLogger *lP, const char *iName, int Debug=0) |
| ~XrdFrmProxy () |
Static Public Attributes |
static const int | opGet = 1 |
static const int | opPut = 2 |
static const int | opMig = 4 |
static const int | opStg = 8 |
static const int | opAll = 15 |
Private Member Functions |
int | Init2 (const char *cfgFN) |
int | qChk (XrdOucStream &cFile) |
Private Attributes |
XrdFrmReqAgent * | Agent [XrdFrmRequest::numQ] |
const char * | insName |
char * | intName |
char * | QPath |
Static Private Attributes |
static o2qMap | oqMap [] |
static int | oqNum = sizeof(oqMap)/sizeof(oqMap[0]) |
Constructor & Destructor Documentation
XrdFrmProxy::XrdFrmProxy |
( |
XrdSysLogger * |
lP, |
|
|
const char * |
iName, |
|
|
int |
Debug = 0 |
|
) |
| |
XrdFrmProxy::~XrdFrmProxy |
( |
| ) |
[inline] |
Member Function Documentation
int XrdFrmProxy::Add |
( |
char |
Opc, |
|
|
const char * |
Lfn, |
|
|
const char * |
Opq, |
|
|
const char * |
Usr, |
|
|
const char * |
Rid, |
|
|
const char * |
Nop, |
|
|
const char * |
Pop, |
|
|
int |
Prty = 1 |
|
) |
| |
References XrdFrmUtils::chkURL(), XrdFrmRequest::ID, XrdFrmRequest::LFN, XrdFrmRequest::LFO, XrdFrmUtils::MapM2O(), XrdFrmUtils::MapR2Q(), XrdFrmRequest::Notify, XrdFrmRequest::Opaque, XrdFrmRequest::OPc, XrdFrmRequest::Options, XrdFrmRequest::Prty, strlcpy(), and XrdFrmRequest::User.
Referenced by XrdCmsPrepare::Add(), and XrdOssSys::Stage_QT().
int XrdFrmProxy::Del |
( |
char |
Opc, |
|
|
const char * |
Rid |
|
) |
| |
int XrdFrmProxy::Init |
( |
int |
opX, |
|
|
const char * |
aPath, |
|
|
int |
aMode, |
|
|
const char * |
qPath = 0 |
|
) |
| |
int XrdFrmProxy::Init2 |
( |
const char * |
cfgFN | ) |
[private] |
Member Data Documentation
Initial value:
{{"getf", XrdFrmRequest::getQ, opGet},
{"migr", XrdFrmRequest::migQ, opMig},
{"pstg", XrdFrmRequest::stgQ, opStg},
{"putf", XrdFrmRequest::putQ, opPut}}
The documentation for this class was generated from the following files: