|
xrootd
|
#include <XrdXrootdCallBack.hh>


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