#include <XrdOfsEvr.hh>
Public Member Functions | |
void | Done (int &Result, XrdOucErrInfo *eInfo, const char *path=0) |
int | Same (unsigned long long arg1, unsigned long long arg2) |
theClient (XrdOfsEvr *evr, XrdOucErrInfo *einfo, const char *path=0) | |
~theClient () | |
Public Attributes | |
theClient * | Next |
const char * | User |
char * | Path |
XrdOfsEvr * | EvrP |
XrdOucEICB * | evtCB |
unsigned long long | evtCBarg |
XrdOfsEvr::theClient::theClient | ( | XrdOfsEvr * | evr, | |
XrdOucErrInfo * | einfo, | |||
const char * | path = 0 | |||
) | [inline] |
References EvrP, evtCB, evtCBarg, XrdOucErrInfo::getErrCB(), XrdOucErrInfo::getErrUser(), Next, Path, and User.
XrdOfsEvr::theClient::~theClient | ( | ) | [inline] |
References Path.
void XrdOfsEvr::theClient::Done | ( | int & | Result, | |
XrdOucErrInfo * | eInfo, | |||
const char * | Path = 0 | |||
) | [inline, virtual] |
Invoke a callback after an operation completes.
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.
References EvrP, and XrdOfsEvr::Work4Event().
int XrdOfsEvr::theClient::Same | ( | unsigned long long | arg1, | |
unsigned long long | arg2 | |||
) | [inline, virtual] |
Determine if two callback arguments refer to the same client.
arg1 | - The first callback argument. | |
arg2 | - The second callback argument. |
Implements XrdOucEICB.
Referenced by Done(), and theClient().
Referenced by theClient().
unsigned long long XrdOfsEvr::theClient::evtCBarg |
Referenced by theClient().
Referenced by theClient().
Referenced by theClient(), and ~theClient().
const char* XrdOfsEvr::theClient::User |
Referenced by theClient().