#include <XrdMonSenderInfo.hh>
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 |
Definition at line 24 of file XrdMonSenderInfo.hh.
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] |
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] |
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().
map< kXR_int64, senderid_t > XrdMonSenderInfo::_ids [static, private] |
vector< hp_t > XrdMonSenderInfo::_hps [static, private] |
Definition at line 61 of file XrdMonSenderInfo.hh.
Referenced by convert2Id(), id2Host(), id2HostPort(), printSelf(), registerSender(), and shutdown().