xrootd
|
#include <XrdXrootdGSReal.hh>
Classes | |
struct | GStream |
Public Member Functions | |
void | DoIt () |
void | Flush () |
uint32_t | GetDictID (const char *text, bool isPath=false) |
bool | Insert (const char *data, int dlen) |
bool | Insert (int dlen) |
char * | Reserve (int dlen) |
int | SetAutoFlush (int afsec) |
XrdXrootdGSReal (const char *gNamePI, char gDataID, int mtype, int flint) | |
~XrdXrootdGSReal () | |
Destructor. Normally, this object is never deleted. More... | |
![]() | |
XrdJob (const char *desc="") | |
virtual | ~XrdJob () |
![]() | |
void | Flush () |
uint32_t | GetDictID (const char *text, bool isPath=false) |
bool | Insert (const char *data, int dlen) |
bool | Insert (int dlen) |
char * | Reserve (int dlen) |
int | SetAutoFlush (int afsec) |
XrdXrootdGStream (XrdXrootdGSReal &gsRef) | |
Private Member Functions | |
void | AutoFlush () |
void | Expel (int dlen) |
Private Attributes | |
XrdSysRecMutex | gMutex |
char * | udpBFirst |
char * | udpBNext |
char * | udpBEnd |
int | rsvbytes |
int | monType |
int | afTime |
bool | afRunning |
XrdXrootdMonitor::User | gMon |
struct XrdXrootdGSReal::GStream | gMsg |
Additional Inherited Members | |
![]() | |
XrdJob * | NextJob |
const char * | Comment |
![]() | |
static const int | MaxDataLen = 65280 |
The larest amount of data that can be inserted in a single call to GStream. More... | |
![]() | |
~XrdXrootdGStream () | |
Destructor. This stream should never be directly deleted. More... | |
This class implements a generic reporter for the XRootD monitoring stream, also known as the G-Stream. It's base class is passed around to various plugins to allow them to add monitoring information into the G-Stream.
XrdXrootdGSReal::XrdXrootdGSReal | ( | const char * | gNamePI, |
char | gDataID, | ||
int | mtype, | ||
int | flint | ||
) |
Constructor
gNamePI | the plugin name. |
gDataID | the G-Stream identifier associated with all of the data that will be placed in the stream using this object. See XrdXrootdMonData.hh for valid subtypes. |
mtype | the monitor type for send routing. |
flint | the autoflush interval. |
|
inline |
Destructor. Normally, this object is never deleted.
|
private |
|
virtual |
Implements XrdJob.
|
private |
void XrdXrootdGSReal::Flush | ( | ) |
uint32_t XrdXrootdGSReal::GetDictID | ( | const char * | text, |
bool | isPath = false |
||
) |
bool XrdXrootdGSReal::Insert | ( | const char * | data, |
int | dlen | ||
) |
bool XrdXrootdGSReal::Insert | ( | int | dlen | ) |
char* XrdXrootdGSReal::Reserve | ( | int | dlen | ) |
int XrdXrootdGSReal::SetAutoFlush | ( | int | afsec | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |