xrootd
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | Static Private Attributes | List of all members
XrdSsiAlert Class Reference

#include <XrdSsiAlert.hh>

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

Public Member Functions

void Recycle ()
 
int SetInfo (XrdOucErrInfo &eInfo, char *aMsg, int aLen)
 
void Done (int &Result, XrdOucErrInfo *cbInfo, const char *path=0)
 
int Same (unsigned long long arg1, unsigned long long arg2)
 
 XrdSsiAlert ()
 
 ~XrdSsiAlert ()
 
- Public Member Functions inherited from XrdOucEICB
 XrdOucEICB ()
 Constructor and destructor.
 
virtual ~XrdOucEICB ()
 

Static Public Member Functions

static XrdSsiAlertAlloc (XrdSsiRespInfoMsg &aMsg)
 
static void SetMax (int maxval)
 

Public Attributes

XrdSsiAlertnext
 

Private Attributes

XrdSsiRespInfoMsgtheMsg
 

Static Private Attributes

static XrdSysMutex aMutex
 
static XrdSsiAlertfree
 
static int fNum
 
static int fMax
 
static const int fmaxDflt = 100
 

Constructor & Destructor Documentation

◆ XrdSsiAlert()

XrdSsiAlert::XrdSsiAlert ( )
inline

◆ ~XrdSsiAlert()

XrdSsiAlert::~XrdSsiAlert ( )
inline

Member Function Documentation

◆ Alloc()

static XrdSsiAlert * XrdSsiAlert::Alloc ( XrdSsiRespInfoMsg aMsg)
static

◆ Done()

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

◆ Recycle()

void XrdSsiAlert::Recycle ( )

◆ Same()

int XrdSsiAlert::Same ( unsigned long long  arg1,
unsigned long long  arg2 
)
inlinevirtual

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.

◆ SetInfo()

int XrdSsiAlert::SetInfo ( XrdOucErrInfo eInfo,
char *  aMsg,
int  aLen 
)

◆ SetMax()

static void XrdSsiAlert::SetMax ( int  maxval)
inlinestatic

References fMax.

Member Data Documentation

◆ aMutex

XrdSysMutex XrdSsiAlert::aMutex
staticprivate

◆ fMax

int XrdSsiAlert::fMax
staticprivate

Referenced by SetMax().

◆ fmaxDflt

const int XrdSsiAlert::fmaxDflt = 100
staticprivate

◆ fNum

int XrdSsiAlert::fNum
staticprivate

◆ free

XrdSsiAlert* XrdSsiAlert::free
staticprivate

◆ next

XrdSsiAlert* XrdSsiAlert::next

◆ theMsg

XrdSsiRespInfoMsg* XrdSsiAlert::theMsg
private

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