|
xrootd
|
#include <XrdXrootdTransit.hh>


Classes | |
| class | SchedReq |
Public Member Functions | |
| bool | Disc () |
| Handle dismantlement. More... | |
| void | Proceed () |
| Resume processing after a waitresp completion. More... | |
| int | Process (XrdLink *lp) |
| Handle link activation (replaces parent activation). More... | |
| void | Recycle (XrdLink *lp, int consec, const char *reason) |
| Handle link shutdown. More... | |
| void | Redrive () |
| Redrive a request after a wait. More... | |
| bool | Run (const char *xreqP, char *xdataP=0, int xdataL=0) |
| Inject an xrootd request into the protocol stack. More... | |
| int | Send (int rcode, const struct iovec *ioVec, int ioNum, int ioLen) |
| Handle request data response. More... | |
| int | Send (long long offset, int dlen, int fdnum) |
| Handle request sendfile response. More... | |
| int | Send (XrdOucSFVec *sfvec, int sfvnum, int dlen) |
| int | setSF (kXR_char *fhandle, bool seton=false) |
| Set sendfile() enablement. More... | |
| void | SetWait (int wtime, bool notify=false) |
| Set maximum wait time. More... | |
| XrdXrootdTransit () | |
| Constructor & Destructor. More... | |
| virtual | ~XrdXrootdTransit () |
Public Member Functions inherited from XrdXrootd::Bridge | |
| Bridge () | |
| Constructor & Destructor. More... | |
Public Member Functions inherited from XrdXrootdProtocol | |
| void | DoIt () |
| int | do_WriteSpan () |
| XrdProtocol * | Match (XrdLink *lp) |
| int | Process2 () |
| int | ProcSig () |
| int | SendFile (int fildes) |
| int | SendFile (XrdOucSFVec *sfvec, int sfvnum) |
| void | SetFD (int fildes) |
| int | Stats (char *buff, int blen, int do_sync=0) |
| XrdXrootdProtocol & | operator= (const XrdXrootdProtocol &rhs) |
| XrdXrootdProtocol () | |
| ~XrdXrootdProtocol () | |
Public Member Functions inherited from XrdProtocol | |
| XrdProtocol (const char *jname) | |
| virtual | ~XrdProtocol () |
Public Member Functions inherited from XrdJob | |
| XrdJob (const char *desc="") | |
| virtual | ~XrdJob () |
Public Member Functions inherited from XrdSfsDio | |
| XrdSfsDio () | |
| Constructor and destructor. More... | |
| virtual | ~XrdSfsDio () |
Static Public Member Functions | |
| static XrdXrootdTransit * | Alloc (XrdXrootd::Bridge::Result *respP, XrdLink *linkP, XrdSecEntity *seceP, const char *nameP, const char *protP) |
| Get a new transit object. More... | |
| static int | Attn (XrdLink *lP, short *theSID, int rcode, const struct iovec *ioVec, int ioNum, int ioLen) |
| Handle attention response (i.e. async response) More... | |
| static void | Init (XrdScheduler *schedP, int qMax, int qTTL) |
| Perform one-time initialization. More... | |
| static const char * | ReqTable () |
| Initialize the valid request table. More... | |
Static Public Member Functions inherited from XrdXrootd::Bridge | |
| static Bridge * | Login (Result *rsltP, XrdLink *linkP, XrdSecEntity *seceP, const char *nameP, const char *protP) |
Static Public Member Functions inherited from XrdXrootdProtocol | |
| static int | Configure (char *parms, XrdProtocol_Config *pi) |
| static int | StatGen (struct stat &buf, char *xxBuff) |
Private Member Functions | |
| int | AttnCont (XrdXrootdTransPend *tP, int rcode, const struct iovec *ioV, int ioN, int ioL) |
| bool | Fail (int ecode, const char *etext) |
| int | Fatal (int rc) |
| void | Init (Result *rsltP, XrdLink *linkP, XrdSecEntity *seceP, const char *nameP, const char *protP) |
| bool | ReqWrite (char *xdataP, int xdataL) |
| bool | RunCopy (char *buffP, int buffL) |
| int | Wait (XrdXrootd::Bridge::Context &rInfo, const struct iovec *ioV, int ioN, int ioL) |
| int | WaitResp (XrdXrootd::Bridge::Context &rInfo, const struct iovec *ioV, int ioN, int ioL) |
Private Attributes | |
| XrdObject< XrdXrootdTransit > | TranLink |
| SchedReq | respJob |
| SchedReq | waitJob |
| XrdSysMutex | runMutex |
| XrdProtocol * | realProt |
| XrdXrootd::Bridge::Result * | respObj |
| const char * | runEText |
| char * | runArgs |
| int | runALen |
| int | runABsz |
| int | runError |
| int | runStatus |
| int | runWait |
| int | runWTot |
| int | runWMax |
| bool | runDone |
| bool | reInvoke |
| bool | runWCall |
| int | wBLen |
| char * | wBuff |
| const char * | pName |
| time_t | cTime |
Static Private Attributes | |
| static XrdObjectQ< XrdXrootdTransit > | TranStack |
| static const char * | reqTab |
|
inline |
Constructor & Destructor.
|
inlinevirtual |
|
static |
Get a new transit object.
|
static |
Handle attention response (i.e. async response)
|
private |
|
virtual |
Handle dismantlement.
Implements XrdXrootd::Bridge.
|
private |
|
private |
|
private |
|
static |
Perform one-time initialization.
| void XrdXrootdTransit::Proceed | ( | ) |
Resume processing after a waitresp completion.
|
virtual |
Handle link activation (replaces parent activation).
Reimplemented from XrdXrootdProtocol.
|
virtual |
Handle link shutdown.
Reimplemented from XrdXrootdProtocol.
| void XrdXrootdTransit::Redrive | ( | ) |
Redrive a request after a wait.
|
static |
Initialize the valid request table.
|
private |
|
virtual |
Inject an xrootd request into the protocol stack.
| xreqP | xrootd request header |
| xdataP | xrootd request data (optional) |
| xdataL | xrootd request data length |
Implements XrdXrootd::Bridge.
|
private |
| int XrdXrootdTransit::Send | ( | int | rcode, |
| const struct iovec * | ioVec, | ||
| int | ioNum, | ||
| int | ioLen | ||
| ) |
Handle request data response.
| int XrdXrootdTransit::Send | ( | long long | offset, |
| int | dlen, | ||
| int | fdnum | ||
| ) |
Handle request sendfile response.
| int XrdXrootdTransit::Send | ( | XrdOucSFVec * | sfvec, |
| int | sfvnum, | ||
| int | dlen | ||
| ) |
|
inlinevirtual |
|
inlinevirtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by SetWait().
|
private |
Referenced by SetWait().
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |