|
xrootd
|
#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 = 0 |
| static char * | reqPFX |
| static char * | reqFMT |
| static int | reqNum = 0 |
| XrdOucReqID::XrdOucReqID | ( | int | instance, |
| const char * | myhost, | ||
| unsigned int | myaddr | ||
| ) |
| XrdOucReqID::~XrdOucReqID | ( | ) | [inline] |
| char * XrdOucReqID::ID | ( | char * | buff, |
| int | blen | ||
| ) | [static] |
References XrdSysMutex::Lock(), myMutex, reqFMT, reqNum, snprintf, and XrdSysMutex::UnLock().
Referenced by XrdXrootdProtocol::do_Prepare(), and XrdOssSys::Stage_QT().
| int XrdOucReqID::Index | ( | int | KeyMax, |
| const char * | KeyVal, | ||
| int | KeyLen = 0 |
||
| ) | [static] |
References XrdOucCRC::CRC32().
Referenced by XrdCmsFinderRMT::SelectManager().
| static int XrdOucReqID::isMine | ( | char * | reqid | ) | [inline, static] |
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] |
References reqPFX.
XrdSysMutex XrdOucReqID::myMutex [static, private] |
Referenced by ID().
char * XrdOucReqID::reqFMT [static, private] |
Referenced by ID(), and XrdOucReqID().
int XrdOucReqID::reqNum = 0 [static, private] |
Referenced by ID().
char * XrdOucReqID::reqPFX [static, private] |
Referenced by isMine(), PFX(), and XrdOucReqID().
int XrdOucReqID::reqPFXlen = 0 [static, private] |
Referenced by isMine(), and XrdOucReqID().
1.7.3