XrdBwmHandle::theEICB Class Reference

Inheritance diagram for XrdBwmHandle::theEICB:
Inheritance graph
[legend]
Collaboration diagram for XrdBwmHandle::theEICB:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Done (int &Result, XrdOucErrInfo *eInfo, const char *Path=0)
int Same (unsigned long long arg1, unsigned long long arg2)
void Wait ()
 theEICB ()
virtual ~theEICB ()

Private Attributes

XrdSysSemaphore mySem

Constructor & Destructor Documentation

XrdBwmHandle::theEICB::theEICB (  )  [inline]
virtual XrdBwmHandle::theEICB::~theEICB (  )  [inline, virtual]

Member Function Documentation

void XrdBwmHandle::theEICB::Done ( int &  Result,
XrdOucErrInfo eInfo,
const char *  Path = 0 
) [inline, 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.

References mySem, and XrdSysSemaphore::Post().

int XrdBwmHandle::theEICB::Same ( unsigned long long  arg1,
unsigned long long  arg2 
) [inline, 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.

void XrdBwmHandle::theEICB::Wait (  )  [inline]

References mySem, and XrdSysSemaphore::Wait().


Member Data Documentation

Referenced by Done(), and Wait().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 9 Oct 2019 for xrootd by  doxygen 1.6.1