#include <XrdXrootdCallBack.hh>
|
void | Done (int &Result, XrdOucErrInfo *eInfo, const char *Path=0) |
|
const char * | Func () |
|
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 Mlen=0) |
|
void | sendVesp (XrdOucErrInfo *eInfo, XResponseType xrt, struct iovec *ioV, int ioN) |
|
| XrdXrootdCallBack (const char *opn, const char opc) |
|
| ~XrdXrootdCallBack () |
|
| XrdOucEICB () |
| Constructor and destructor.
|
|
virtual | ~XrdOucEICB () |
|
◆ XrdXrootdCallBack()
XrdXrootdCallBack::XrdXrootdCallBack |
( |
const char * |
opn, |
|
|
const char |
opc |
|
) |
| |
|
inline |
◆ ~XrdXrootdCallBack()
XrdXrootdCallBack::~XrdXrootdCallBack |
( |
| ) |
|
|
inline |
◆ Done()
void XrdXrootdCallBack::Done |
( |
int & |
Result, |
|
|
XrdOucErrInfo * |
eInfo, |
|
|
const char * |
Path = 0 |
|
) |
| |
|
virtual |
Invoke a callback after an operation completes.
- Parameters
-
Result | - the original function's result (may be changed). |
eInfo | - Associated error information. The eInfo object may not be modified until it's own callback Done() method is called, if supplied. If the callback function in eInfo is zero, then the eInfo object is deleted by the invoked callback. Otherwise, that method must be invoked by this callback function after the actual callback message is sent. This allows the callback requestor to do post-processing and be asynchronous being assured that the callback completed. |
Path | - Optionally, the path related to thid request. It is used for tracing and detailed monitoring purposes. |
Implements XrdOucEICB.
◆ Func()
const char * XrdXrootdCallBack::Func |
( |
| ) |
|
|
inline |
◆ Oper()
char XrdXrootdCallBack::Oper |
( |
| ) |
|
|
inline |
◆ Same()
int XrdXrootdCallBack::Same |
( |
unsigned long long |
arg1, |
|
|
unsigned long long |
arg2 |
|
) |
| |
|
virtual |
Determine if two callback arguments refer to the same client.
- Parameters
-
arg1 | - The first callback argument. |
arg2 | - The second callback argument. |
- Returns
- !0 - The arguments refer to the same client.
-
=0 - The arguments refer to the different clients.
Implements XrdOucEICB.
◆ sendError()
void XrdXrootdCallBack::sendError |
( |
int |
rc, |
|
|
XrdOucErrInfo * |
eInfo, |
|
|
const char * |
Path |
|
) |
| |
◆ sendResp()
◆ sendVesp()
◆ setVals()
◆ Opcode
const char XrdXrootdCallBack::Opcode |
|
private |
◆ Opname
const char* XrdXrootdCallBack::Opname |
|
private |
The documentation for this class was generated from the following file: