#include <XrdSsiEvent.hh>
Classes | |
struct | EventData |
Public Member Functions | |
void | AddEvent (XrdCl::XRootDStatus *st, XrdCl::AnyObject *resp) |
void | ClrEvent () |
virtual void | DoIt () |
virtual void | HandleResponse (XrdCl::XRootDStatus *status, XrdCl::AnyObject *response) |
virtual bool | XeqEvent (XrdCl::XRootDStatus *st, XrdCl::AnyObject **resp)=0 |
XrdSsiEvent (const char *hName="") | |
~XrdSsiEvent () | |
Protected Attributes | |
pthread_t | myCaller |
Private Member Functions | |
void | ClrEvent (EventData *fdP) |
Private Attributes | |
XrdSsiMutex | evMutex |
EventData | thisEvent |
EventData * | lastEvent |
bool | running |
Static Private Attributes | |
static EventData * | freeEvent |
XrdSsiEvent::XrdSsiEvent | ( | const char * | hName = "" |
) | [inline] |
XrdSsiEvent::~XrdSsiEvent | ( | ) | [inline] |
References ClrEvent().
void XrdSsiEvent::AddEvent | ( | XrdCl::XRootDStatus * | st, | |
XrdCl::AnyObject * | resp | |||
) |
Referenced by HandleResponse().
void XrdSsiEvent::ClrEvent | ( | EventData * | fdP | ) | [private] |
void XrdSsiEvent::ClrEvent | ( | ) | [inline] |
References ClrEvent(), evMutex, XrdSsiMutex::Lock(), thisEvent, and XrdSsiMutex::UnLock().
Referenced by ClrEvent(), and ~XrdSsiEvent().
virtual void XrdSsiEvent::DoIt | ( | ) | [virtual] |
Implements XrdJob.
virtual void XrdSsiEvent::HandleResponse | ( | XrdCl::XRootDStatus * | status, | |
XrdCl::AnyObject * | response | |||
) | [inline, virtual] |
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.
References AddEvent(), and myCaller.
virtual bool XrdSsiEvent::XeqEvent | ( | XrdCl::XRootDStatus * | st, | |
XrdCl::AnyObject ** | resp | |||
) | [pure virtual] |
Implemented in XrdSsiSessReal, and XrdSsiTaskReal.
XrdSsiMutex XrdSsiEvent::evMutex [private] |
Referenced by ClrEvent().
EventData* XrdSsiEvent::freeEvent [static, private] |
EventData* XrdSsiEvent::lastEvent [private] |
pthread_t XrdSsiEvent::myCaller [protected] |
Referenced by HandleResponse().
bool XrdSsiEvent::running [private] |
EventData XrdSsiEvent::thisEvent [private] |
Referenced by ClrEvent().