XRootD
XrdXrootdMonitor::Hello Class Reference

#include <XrdXrootdMonitor.hh>

+ Inheritance diagram for XrdXrootdMonitor::Hello:
+ Collaboration diagram for XrdXrootdMonitor::Hello:

Public Member Functions

 Hello (const char *dest, char mode)
 
virtual ~Hello ()
 
virtual void Ident ()
 

Static Public Member Functions

static bool Hail ()
 

Detailed Description

Definition at line 152 of file XrdXrootdMonitor.hh.

Constructor & Destructor Documentation

◆ Hello()

XrdXrootdMonitor::Hello::Hello ( const char *  dest,
char  mode 
)

Definition at line 229 of file XrdXrootdMonitor.cc.

230  : Next(0), theDest(0), theMode(0)
231 {
232  if (dest)
233  {Hello *nP = First;
234  while(nP) {if (!strcmp(dest, nP->theDest) && mode == theMode) return;
235  nP = nP->Next;
236  }
237  Next = First;
238  First = this;
239  theDest = strdup(dest);
240  theMode = mode;
241  }
242 }
Hello(const char *dest, char mode)

◆ ~Hello()

virtual XrdXrootdMonitor::Hello::~Hello ( )
inlinevirtual

Definition at line 162 of file XrdXrootdMonitor.hh.

162 {if (theDest) free(theDest);}

Member Function Documentation

◆ Hail()

bool XrdXrootdMonitor::Hello::Hail ( )
static

Definition at line 250 of file XrdXrootdMonitor.cc.

251 {
252  Hello *nP = First;
253 
254 // Call all the registered ident methods
255 //
256  while(nP) {nP->Ident(); nP = nP->Next;}
257 
258 // Indicate whether or not anything would have been sent
259 //
260  return First != 0;
261 }

References Ident().

Referenced by XrdXrootdMonitor_Ident::DoIt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Ident()

virtual void XrdXrootdMonitor::Hello::Ident ( )
inlinevirtual

Reimplemented in XrdXrootdGSReal.

Definition at line 158 of file XrdXrootdMonitor.hh.

158 {};

Referenced by Hail().

+ Here is the caller graph for this function:

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