XrdMonSenderInfo Class Reference

#include <XrdMonSenderInfo.hh>

List of all members.

Static Public Member Functions

static senderid_t convert2Id (struct sockaddr_in sAddr)
static hp_t addr2HostPort (struct sockaddr_in sAddr)
static hp_t id2HostPort (senderid_t id)
static const char * id2HostPortStr (senderid_t id)
static const char * id2Host (senderid_t id)
static void printSelf ()
static void shutdown ()

Static Private Member Functions

static void registerSender (struct sockaddr_in sAddr)

Static Private Attributes

static map< kXR_int64, senderid_t_ids
static vector< hp_t_hps


Detailed Description

Definition at line 24 of file XrdMonSenderInfo.hh.


Member Function Documentation

senderid_t XrdMonSenderInfo::convert2Id ( struct sockaddr_in  sAddr  )  [static]

Definition at line 28 of file XrdMonSenderInfo.cc.

References _hps, _ids, id, and registerSender().

Referenced by addr2HostPort(), and XrdMonCtrArchiver::archivePacket().

static hp_t XrdMonSenderInfo::addr2HostPort ( struct sockaddr_in  sAddr  )  [inline, static]

Definition at line 27 of file XrdMonSenderInfo.hh.

References convert2Id(), and id2HostPort().

static hp_t XrdMonSenderInfo::id2HostPort ( senderid_t  id  )  [inline, static]

Definition at line 30 of file XrdMonSenderInfo.hh.

References _hps.

Referenced by addr2HostPort(), id2HostPortStr(), and XrdMonCtrWriter::XrdMonCtrWriter().

static const char* XrdMonSenderInfo::id2HostPortStr ( senderid_t  id  )  [inline, static]

Definition at line 36 of file XrdMonSenderInfo.hh.

References hp, id2HostPort(), sprintf(), and x.

Referenced by XrdMonCtrArchiver::archivePacket(), and XrdMonCtrArchiver::check4InactiveSenders().

static const char* XrdMonSenderInfo::id2Host ( senderid_t  id  )  [inline, static]

Definition at line 43 of file XrdMonSenderInfo.hh.

References _hps.

Referenced by XrdMonDecUserInfo::convert2string(), XrdMonDecStageInfo::convert2string(), operator<<(), XrdMonDecSink::registerXrdRestart(), XrdMonDecUserInfo::writeRT2Buffer(), and XrdMonDecStageInfo::writeRT2Buffer().

void XrdMonSenderInfo::printSelf (  )  [static]

Definition at line 45 of file XrdMonSenderInfo.cc.

References _hps, i, and s.

void XrdMonSenderInfo::shutdown (  )  [static]

Definition at line 56 of file XrdMonSenderInfo.cc.

References _hps, _ids, i, and s.

Referenced by XrdMonCtrArchiver::~XrdMonCtrArchiver().

void XrdMonSenderInfo::registerSender ( struct sockaddr_in  sAddr  )  [static, private]

Definition at line 68 of file XrdMonSenderInfo.cc.

References _hps, ERR_INVALIDADDR, h, p, and strcpy().

Referenced by convert2Id().


Member Data Documentation

map< kXR_int64, senderid_t > XrdMonSenderInfo::_ids [static, private]

Definition at line 59 of file XrdMonSenderInfo.hh.

Referenced by convert2Id(), and shutdown().

vector< hp_t > XrdMonSenderInfo::_hps [static, private]

Definition at line 61 of file XrdMonSenderInfo.hh.

Referenced by convert2Id(), id2Host(), id2HostPort(), printSelf(), registerSender(), and shutdown().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:35 2011 for ROOT_528-00b_version by  doxygen 1.5.1