#include <XrdXrootdCallBack.hh>
Inheritance diagram for XrdXrootdCallBack:

| 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 | 
Definition at line 22 of file XrdXrootdCallBack.hh.
| XrdXrootdCallBack::XrdXrootdCallBack | ( | const char * | opn | ) |  [inline] | 
Definition at line 45 of file XrdXrootdCallBack.hh.
| XrdXrootdCallBack::~XrdXrootdCallBack | ( | ) |  [inline] | 
Definition at line 47 of file XrdXrootdCallBack.hh.
| void XrdXrootdCallBack::Done | ( | int & | Result, | |
| XrdOucErrInfo * | eInfo | |||
| ) |  [virtual] | 
Implements XrdOucEICB.
Definition at line 176 of file XrdXrootdCallBack.cc.
References XrdXrootdCBJob::Alloc(), XrdOucEICB::Done(), eDest, XrdSysError::Emsg(), XrdOucErrInfo::getErrCB(), XrdOucErrInfo::getErrUser(), Sched, and XrdScheduler::Schedule().
| const char* XrdXrootdCallBack::Func | ( | ) |  [inline] | 
Definition at line 29 of file XrdXrootdCallBack.hh.
References Opname.
Referenced by XrdXrootdCBJob::DoIt().
Implements XrdOucEICB.
Definition at line 195 of file XrdXrootdCallBack.cc.
References XrdXrootdReqID::getID().
| void XrdXrootdCallBack::sendError | ( | int | rc, | |
| XrdOucErrInfo * | eInfo | |||
| ) | 
Definition at line 211 of file XrdXrootdCallBack.cc.
References eDest, eMsg, XrdSysError::Emsg(), XrdXrootdStats::errorCnt, XrdOucErrInfo::getErrText(), XrdOucErrInfo::getErrUser(), kXR_error, kXR_ok, kXR_redirect, kXR_ServerError, kXR_wait, XrdXrootdProtocol::mapError(), Port, XrdXrootdStats::redirCnt, sendResp(), SFS_DATA, SFS_ERROR, SFS_REDIRECT, SFS_STALL, SI, sprintf(), 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 | |||
| ) | 
Definition at line 275 of file XrdXrootdCallBack.cc.
References eDest, XrdSysError::Emsg(), XrdOucErrInfo::getErrArg(), XrdOucErrInfo::getErrUser(), XrdXrootdResponse::ID(), iovec::iov_base, iovec::iov_len, n, Opname, XrdXrootdResponse::Send(), XrdXrootdResponse::Set(), 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] | 
Definition at line 39 of file XrdXrootdCallBack.hh.
References eDest, Port, Sched, and SI.
Referenced by XrdXrootdProtocol::Configure().
| XrdSysError * XrdXrootdCallBack::eDest  [static, private] | 
Definition at line 49 of file XrdXrootdCallBack.hh.
Referenced by Done(), sendError(), sendResp(), and setVals().
| XrdXrootdStats * XrdXrootdCallBack::SI  [static, private] | 
| XrdScheduler * XrdXrootdCallBack::Sched  [static, private] | 
| const char* XrdXrootdCallBack::Opname  [private] | 
| int XrdXrootdCallBack::Port  [static, private] | 
 1.5.1
 1.5.1