#include <XrdOucReqID.hh>
Public Member Functions | |
XrdOucReqID (int instance, const char *myhost, unsigned int myaddr) | |
~XrdOucReqID () | |
Static Public Member Functions | |
static char * | ID (char *buff, int blen) |
static int | isMine (char *reqid) |
static int | isMine (char *reqid, int &hport, char *hname, int hlen) |
static char * | PFX () |
static int | Index (int KeyMax, const char *KeyVal, int KeyLen=0) |
Static Private Attributes | |
static XrdSysMutex | myMutex |
static int | reqPFXlen |
static char * | reqPFX |
static char * | reqFMT |
static int | reqNum |
Definition at line 22 of file XrdOucReqID.hh.
XrdOucReqID::XrdOucReqID | ( | int | instance, | |
const char * | myhost, | |||
unsigned int | myaddr | |||
) |
XrdOucReqID::~XrdOucReqID | ( | ) | [inline] |
Definition at line 38 of file XrdOucReqID.hh.
char * XrdOucReqID::ID | ( | char * | buff, | |
int | blen | |||
) | [static] |
Definition at line 100 of file XrdOucReqID.cc.
References XrdSysMutex::Lock(), myMutex, reqFMT, reqNum, snprintf, and XrdSysMutex::UnLock().
Referenced by XrdXrootdProtocol::do_Prepare(), and XrdOssSys::Stage_QT().
static int XrdOucReqID::isMine | ( | char * | reqid | ) | [inline, static] |
Definition at line 28 of file XrdOucReqID.hh.
References reqPFX, and reqPFXlen.
Referenced by XrdXrootdProtocol::do_Prepare(), and isMine().
int XrdOucReqID::isMine | ( | char * | reqid, | |
int & | hport, | |||
char * | hname, | |||
int | hlen | |||
) | [static] |
static char* XrdOucReqID::PFX | ( | ) | [inline, static] |
int XrdOucReqID::Index | ( | int | KeyMax, | |
const char * | KeyVal, | |||
int | KeyLen = 0 | |||
) | [static] |
Definition at line 120 of file XrdOucReqID.cc.
References XrdOucCRC::CRC32().
Referenced by XrdCmsFinderRMT::SelectManager().
XrdSysMutex XrdOucReqID::myMutex [static, private] |
int XrdOucReqID::reqPFXlen [static, private] |
char * XrdOucReqID::reqPFX [static, private] |
char * XrdOucReqID::reqFMT [static, private] |
int XrdOucReqID::reqNum [static, private] |