|
xrootd
|
#include <XrdXrootdCallBack.hh>


Public Member Functions | |
| void | Done (int &Result, XrdOucErrInfo *eInfo, const char *Path=0) |
| const char * | Func () |
| const char | Oper () |
| int | Same (unsigned long long arg1, unsigned long long arg2) |
| void | sendError (int rc, XrdOucErrInfo *eInfo, const char *Path) |
| void | sendResp (XrdOucErrInfo *eInfo, XResponseType xrt, int *Data=0, const char *Msg=0, int ovhd=0) |
| XrdXrootdCallBack (const char *opn, const char opc) | |
| ~XrdXrootdCallBack () | |
Static Public Member Functions | |
| static void | setVals (XrdSysError *erp, XrdXrootdStats *SIp, XrdScheduler *schp, int port) |
Private Attributes | |
| const char * | Opname |
| const char | Opcode |
Static Private Attributes | |
| static XrdSysError * | eDest |
| static XrdXrootdStats * | SI |
| static XrdScheduler * | Sched |
| static int | Port |
| XrdXrootdCallBack::XrdXrootdCallBack | ( | const char * | opn, |
| const char | opc | ||
| ) | [inline] |
| XrdXrootdCallBack::~XrdXrootdCallBack | ( | ) | [inline] |
| void XrdXrootdCallBack::Done | ( | int & | Result, |
| XrdOucErrInfo * | eInfo, | ||
| const char * | Path = 0 |
||
| ) | [virtual] |
Implements XrdOucEICB.
References XrdXrootdCBJob::Alloc(), XrdOucEICB::Done(), eDest, XrdSysError::Emsg(), XrdOucErrInfo::getErrCB(), XrdOucErrInfo::getErrUser(), Sched, and XrdScheduler::Schedule().
| const char* XrdXrootdCallBack::Func | ( | ) | [inline] |
References Opname.
Referenced by XrdXrootdCBJob::DoIt().
| const char XrdXrootdCallBack::Oper | ( | ) | [inline] |
References Opcode.
| int XrdXrootdCallBack::Same | ( | unsigned long long | arg1, |
| unsigned long long | arg2 | ||
| ) | [virtual] |
Implements XrdOucEICB.
References XrdXrootdReqID::getID().
| void XrdXrootdCallBack::sendError | ( | int | rc, |
| XrdOucErrInfo * | eInfo, | ||
| const char * | Path | ||
| ) |
References eDest, eMsg, XrdSysError::Emsg(), XrdXrootdStats::errorCnt, XrdOucErrInfo::getErrMid(), XrdOucErrInfo::getErrText(), XrdOucErrInfo::getErrUser(), kXR_error, kXR_ok, kXR_redirect, kXR_ServerError, kXR_wait, XProtocol::mapError(), Opcode, Path, Port, XrdXrootdStats::redirCnt, XrdXrootdMonitor::Redirect(), sendResp(), SFS_DATA, SFS_ERROR, SFS_REDIRECT, SFS_STALL, SI, XrdXrootdStats::stallCnt, and TRACE.
Referenced by XrdXrootdCBJob::DoIt().
| void XrdXrootdCallBack::sendResp | ( | XrdOucErrInfo * | eInfo, |
| XResponseType | xrt, | ||
| int * | Data = 0, |
||
| const char * | Msg = 0, |
||
| int | ovhd = 0 |
||
| ) |
References eDest, XrdSysError::Emsg(), XrdOucErrInfo::getErrArg(), XrdOucErrInfo::getErrUser(), XrdXrootdResponse::ID(), Opname, XrdXrootdResponse::Send(), XrdXrootdResponse::Set(), XrdXrootdReqID::setID(), TRACE, TRACE_RSP, and TRACING.
Referenced by XrdXrootdCBJob::DoIt(), and sendError().
| static void XrdXrootdCallBack::setVals | ( | XrdSysError * | erp, |
| XrdXrootdStats * | SIp, | ||
| XrdScheduler * | schp, | ||
| int | port | ||
| ) | [inline, static] |
References eDest, XrdMonCtrCollector::port, Port, Sched, and SI.
Referenced by XrdXrootdProtocol::Configure().
XrdSysError * XrdXrootdCallBack::eDest [static, private] |
Referenced by Done(), sendError(), sendResp(), and setVals().
const char XrdXrootdCallBack::Opcode [private] |
Referenced by Oper(), and sendError().
const char* XrdXrootdCallBack::Opname [private] |
Referenced by Func(), and sendResp().
int XrdXrootdCallBack::Port [static, private] |
Referenced by sendError(), and setVals().
XrdScheduler * XrdXrootdCallBack::Sched [static, private] |
XrdXrootdStats * XrdXrootdCallBack::SI [static, private] |
Referenced by sendError(), and setVals().
1.7.6.1