xrootd
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdSsiEvent Class Referenceabstract

#include <XrdSsiEvent.hh>

Inheritance diagram for XrdSsiEvent:
Inheritance graph
[legend]
Collaboration diagram for XrdSsiEvent:
Collaboration graph
[legend]

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 int XeqEvent (XrdCl::XRootDStatus *st, XrdCl::AnyObject **resp)=0
 
virtual void XeqEvFin ()=0
 
 XrdSsiEvent ()
 
 ~XrdSsiEvent ()
 
- Public Member Functions inherited from XrdJob
 XrdJob (const char *desc="")
 
virtual ~XrdJob ()
 
- Public Member Functions inherited from XrdCl::ResponseHandler
virtual ~ResponseHandler ()
 
virtual void HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList)
 

Protected Attributes

char tident [24]
 

Private Member Functions

void ClrEvent (EventData *fdP)
 

Private Attributes

XrdSsiMutex evMutex
 
EventData thisEvent
 
EventDatalastEvent
 
bool running
 
bool isClear
 

Static Private Attributes

static EventDatafreeEvent
 

Additional Inherited Members

- Static Public Member Functions inherited from XrdCl::ResponseHandler
static ResponseHandlerWrap (std::function< void(XRootDStatus &, AnyObject &)> func)
 
static ResponseHandlerWrap (std::function< void(XRootDStatus *, AnyObject *)> func)
 
- Public Attributes inherited from XrdJob
XrdJobNextJob
 
const char * Comment
 

Constructor & Destructor Documentation

◆ XrdSsiEvent()

XrdSsiEvent::XrdSsiEvent ( )
inline

References tident.

◆ ~XrdSsiEvent()

XrdSsiEvent::~XrdSsiEvent ( )
inline

References ClrEvent(), isClear, and thisEvent.

Member Function Documentation

◆ AddEvent()

void XrdSsiEvent::AddEvent ( XrdCl::XRootDStatus st,
XrdCl::AnyObject resp 
)

Referenced by HandleResponse().

◆ ClrEvent() [1/2]

void XrdSsiEvent::ClrEvent ( )
inline

◆ ClrEvent() [2/2]

void XrdSsiEvent::ClrEvent ( EventData fdP)
private

◆ DoIt()

virtual void XrdSsiEvent::DoIt ( )
virtual

Implements XrdJob.

◆ HandleResponse()

virtual void XrdSsiEvent::HandleResponse ( XrdCl::XRootDStatus status,
XrdCl::AnyObject response 
)
inlinevirtual

Called when a response to associated request arrives or an error occurs

Parameters
statusstatus of the request
responsean object associated with the response (request dependent)

Reimplemented from XrdCl::ResponseHandler.

References AddEvent().

◆ XeqEvent()

virtual int XrdSsiEvent::XeqEvent ( XrdCl::XRootDStatus st,
XrdCl::AnyObject **  resp 
)
pure virtual

Implemented in XrdSsiSessReal, and XrdSsiTaskReal.

◆ XeqEvFin()

virtual void XrdSsiEvent::XeqEvFin ( )
pure virtual

Implemented in XrdSsiSessReal, and XrdSsiTaskReal.

Member Data Documentation

◆ evMutex

XrdSsiMutex XrdSsiEvent::evMutex
private

Referenced by ClrEvent().

◆ freeEvent

EventData* XrdSsiEvent::freeEvent
staticprivate

◆ isClear

bool XrdSsiEvent::isClear
private

Referenced by ~XrdSsiEvent().

◆ lastEvent

EventData* XrdSsiEvent::lastEvent
private

◆ running

bool XrdSsiEvent::running
private

◆ thisEvent

EventData XrdSsiEvent::thisEvent
private

Referenced by ClrEvent(), and ~XrdSsiEvent().

◆ tident

char XrdSsiEvent::tident[24]
protected

The documentation for this class was generated from the following file: