XRootD
Loading...
Searching...
No Matches
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 166 of file XrdXrootdMonitor.hh.

Constructor & Destructor Documentation

◆ Hello()

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

Definition at line 231 of file XrdXrootdMonitor.cc.

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

References Hello().

Referenced by Hello(), XrdXrootdGSReal::XrdXrootdGSReal(), and Hail().

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

◆ ~Hello()

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

Definition at line 176 of file XrdXrootdMonitor.hh.

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

Member Function Documentation

◆ Hail()

bool XrdXrootdMonitor::Hello::Hail ( )
static

Definition at line 252 of file XrdXrootdMonitor.cc.

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

References Hello(), and 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 172 of file XrdXrootdMonitor.hh.

172{};

Referenced by Hail().

+ Here is the caller graph for this function:

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