xrootd
Public Member Functions | Static Public Member Functions | Static Private Attributes

XrdOucReqID Class Reference

#include <XrdOucReqID.hh>

Collaboration diagram for XrdOucReqID:
Collaboration graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

XrdOucReqID::XrdOucReqID ( int  instance,
const char *  myhost,
unsigned int  myaddr 
)

References reqFMT, reqPFX, reqPFXlen, and snprintf.

XrdOucReqID::~XrdOucReqID ( ) [inline]

Member Function Documentation

char * XrdOucReqID::ID ( char *  buff,
int  blen 
) [static]
int XrdOucReqID::Index ( int  KeyMax,
const char *  KeyVal,
int  KeyLen = 0 
) [static]
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]

References index(), isMine(), and snprintf.

static char* XrdOucReqID::PFX ( ) [inline, static]

References reqPFX.


Member Data Documentation

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().


The documentation for this class was generated from the following files: