![]() |
XRootD
|
#include <XrdOfsTPCInfo.hh>
Public Member Functions | |
XrdOfsTPCInfo (const char *vKey=0, const char *vOrg=0, const char *vLfn=0, const char *vDst=0, const char *vCks=0, const char *vSpr=0, const char *vTpr=0) | |
~XrdOfsTPCInfo () | |
void | Engage () |
int | Fail (XrdOucErrInfo *eRR, const char *eMsg, int eCode) |
void | isDest () |
int | Match (const char *cKey, const char *cOrg, const char *xLfn, const char *xDst) |
void | Reply (int rC, int eC, const char *eMsg, XrdSysMutex *mP=0) |
const char * | Set (const char *cKey, const char *cOrg, const char *xLfn, const char *xDst, const char *xCks=0) |
int | SetCB (XrdOucErrInfo *eRR) |
void | SetCreds (const char *evar, const char *creds, int crdsz) |
void | SetRPath (const char *rpath) |
void | SetStreams (char sval) |
void | Success () |
Public Attributes | |
XrdOucCallBack * | cbP |
char * | Cks |
char * | Crd |
int | Csz |
char * | Dst |
const char * | Env |
bool | inWtR |
bool | isAOK |
bool | isDST |
char * | Key |
char * | Lfn |
char * | Org |
char * | Rpx |
char * | Spr |
char | Str |
char * | Tpr |
Definition at line 41 of file XrdOfsTPCInfo.hh.
|
inline |
Definition at line 78 of file XrdOfsTPCInfo.hh.
XrdOfsTPCInfo::~XrdOfsTPCInfo | ( | ) |
|
inline |
Definition at line 45 of file XrdOfsTPCInfo.hh.
References inWtR.
Referenced by XrdOfsTPCJob::Sync().
int XrdOfsTPCInfo::Fail | ( | XrdOucErrInfo * | eRR, |
const char * | eMsg, | ||
int | eCode | ||
) |
Definition at line 86 of file XrdOfsTPCInfo.cc.
References XrdOfsStats::Add(), XrdOfsStats::Data, XrdSysError::Emsg(), eMsg, Lfn, XrdOfsStats::StatsData::numTPCerrs, OfsEroute, OfsStats, Org, XrdOucErrInfo::setErrInfo(), and SFS_ERROR.
Referenced by SetCB(), and XrdOfsTPCJob::Sync().
|
inline |
Definition at line 49 of file XrdOfsTPCInfo.hh.
References isDST.
Referenced by XrdOfsTPC::Validate().
int XrdOfsTPCInfo::Match | ( | const char * | cKey, |
const char * | cOrg, | ||
const char * | xLfn, | ||
const char * | xDst | ||
) |
Definition at line 111 of file XrdOfsTPCInfo.cc.
void XrdOfsTPCInfo::Reply | ( | int | rC, |
int | eC, | ||
const char * | eMsg, | ||
XrdSysMutex * | mP = 0 |
||
) |
Definition at line 133 of file XrdOfsTPCInfo.cc.
References cbP, eMsg, inWtR, Lfn, XrdOucCallBack::Reply(), and XrdSysMutex::UnLock().
Referenced by XrdOfsTPCJob::Del(), and XrdOfsTPCJob::Done().
const char * XrdOfsTPCInfo::Set | ( | const char * | cKey, |
const char * | cOrg, | ||
const char * | xLfn, | ||
const char * | xDst, | ||
const char * | xCks = 0 |
||
) |
Definition at line 156 of file XrdOfsTPCInfo.cc.
References Cks, Dst, Key, Lfn, XrdNetAddrInfo::Name(), Org, and XrdNetAddr::Set().
int XrdOfsTPCInfo::SetCB | ( | XrdOucErrInfo * | eRR | ) |
Definition at line 201 of file XrdOfsTPCInfo.cc.
References cbP, Fail(), and XrdOucCallBack::Init().
Referenced by XrdOfsTPCJob::Sync().
|
inline |
Definition at line 62 of file XrdOfsTPCInfo.hh.
Referenced by XrdOfsTPC::Validate().
|
inline |
Definition at line 69 of file XrdOfsTPCInfo.hh.
References Rpx.
Referenced by XrdOfsTPC::Validate().
|
inline |
Definition at line 74 of file XrdOfsTPCInfo.hh.
References Str.
Referenced by XrdOfsTPC::Validate().
|
inline |
Definition at line 76 of file XrdOfsTPCInfo.hh.
References isAOK.
Referenced by XrdOfsTPCProg::Xeq().
XrdOucCallBack* XrdOfsTPCInfo::cbP |
Definition at line 95 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), XrdOfsTPCJob::Del(), XrdOfsTPCJob::Done(), Reply(), and SetCB().
char* XrdOfsTPCInfo::Cks |
Definition at line 96 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), Set(), and XrdOfsTPCProg::Xeq().
char* XrdOfsTPCInfo::Crd |
Definition at line 105 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), and SetCreds().
int XrdOfsTPCInfo::Csz |
Definition at line 106 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), and SetCreds().
char* XrdOfsTPCInfo::Dst |
Definition at line 100 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), Match(), XrdOfsTPCProg::Run(), Set(), and XrdOfsTPCProg::Xeq().
const char* XrdOfsTPCInfo::Env |
Definition at line 104 of file XrdOfsTPCInfo.hh.
Referenced by SetCreds().
bool XrdOfsTPCInfo::inWtR |
Definition at line 108 of file XrdOfsTPCInfo.hh.
bool XrdOfsTPCInfo::isAOK |
Definition at line 110 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), and Success().
bool XrdOfsTPCInfo::isDST |
Definition at line 109 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), and isDest().
char* XrdOfsTPCInfo::Key |
Definition at line 97 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), XrdOfsTPCJob::Done(), Match(), XrdOfsTPCProg::Run(), Set(), XrdOfsTPCJob::Sync(), and XrdOfsTPCProg::Xeq().
char* XrdOfsTPCInfo::Lfn |
Definition at line 99 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), Fail(), Match(), Reply(), XrdOfsTPCProg::Run(), Set(), and XrdOfsTPCProg::Xeq().
char* XrdOfsTPCInfo::Org |
Definition at line 98 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), Fail(), Match(), XrdOfsTPCProg::Run(), Set(), and XrdOfsTPCProg::Xeq().
char* XrdOfsTPCInfo::Rpx |
Definition at line 103 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), SetRPath(), and XrdOfsTPCProg::Xeq().
char* XrdOfsTPCInfo::Spr |
Definition at line 101 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), and XrdOfsTPCProg::Xeq().
char XrdOfsTPCInfo::Str |
Definition at line 107 of file XrdOfsTPCInfo.hh.
Referenced by XrdOfsTPCProg::Run(), SetStreams(), and XrdOfsTPCProg::Xeq().
char* XrdOfsTPCInfo::Tpr |
Definition at line 102 of file XrdOfsTPCInfo.hh.
Referenced by ~XrdOfsTPCInfo(), and XrdOfsTPCProg::Xeq().