![]() |
XRootD
|
#include <XrdSsiEvent.hh>
Public Member Functions | |
XrdSsiEvent () | |
~XrdSsiEvent () | |
void | AddEvent (XrdCl::XRootDStatus *st, XrdCl::AnyObject *resp) |
void | ClrEvent () |
virtual void | DoIt () |
virtual void | HandleResponse (XrdCl::XRootDStatus *status, XrdCl::AnyObject *response) |
virtual int | XeqEvent (XrdCl::XRootDStatus *st, XrdCl::AnyObject **resp)=0 |
virtual void | XeqEvFin ()=0 |
![]() | |
XrdJob (const char *desc="") | |
virtual | ~XrdJob () |
virtual void | DoIt ()=0 |
![]() | |
virtual | ~ResponseHandler () |
virtual void | HandleResponse (XRootDStatus *status, AnyObject *response) |
virtual void | HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList) |
Protected Attributes | |
char | tident [24] |
Additional Inherited Members | |
![]() | |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus &, AnyObject &)> func) |
static ResponseHandler * | Wrap (std::function< void(XRootDStatus *, AnyObject *)> func) |
![]() | |
const char * | Comment |
XrdJob * | NextJob |
Definition at line 36 of file XrdSsiEvent.hh.
|
inline |
Definition at line 54 of file XrdSsiEvent.hh.
References tident.
|
inline |
Definition at line 58 of file XrdSsiEvent.hh.
References ClrEvent().
void XrdSsiEvent::AddEvent | ( | XrdCl::XRootDStatus * | st, |
XrdCl::AnyObject * | resp | ||
) |
Definition at line 56 of file XrdSsiEvent.cc.
References DEBUG, EPNAME, XrdSsi::schedP, and XrdScheduler::Schedule().
Referenced by HandleResponse().
|
inline |
Definition at line 42 of file XrdSsiEvent.hh.
References ClrEvent(), XrdSsiMutex::Lock(), and XrdSsiMutex::UnLock().
Referenced by ~XrdSsiEvent(), ClrEvent(), DoIt(), and XrdSsiServReal::Recycle().
|
virtual |
Implements XrdJob.
Definition at line 148 of file XrdSsiEvent.cc.
References ClrEvent(), DEBUG, EPNAME, XrdSsiMutex::Lock(), XrdSsiMutex::UnLock(), XeqEvent(), and XeqEvFin().
|
inlinevirtual |
Called when a response to associated request arrives or an error occurs
status | status of the request |
response | an object associated with the response (request dependent) |
Reimplemented from XrdCl::ResponseHandler.
Definition at line 46 of file XrdSsiEvent.hh.
References AddEvent().
|
pure virtual |
Implemented in XrdSsiSessReal, and XrdSsiTaskReal.
Referenced by DoIt().
|
pure virtual |
Implemented in XrdSsiSessReal, and XrdSsiTaskReal.
Referenced by DoIt().
|
protected |
Definition at line 62 of file XrdSsiEvent.hh.
Referenced by XrdSsiEvent(), XrdSsiSessReal::InitSession(), and XrdSsiTaskReal::SetTaskID().