xrootd
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
XrdCmsClientMan Class Reference

#include <XrdCmsClientMan.hh>

Collaboration diagram for XrdCmsClientMan:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int delayResp (XrdOucErrInfo &Resp)
int isActive ()
XrdCmsClientMannextManager ()
char * Name ()
char * NPfx ()
int Send (char *msg, int mlen=0)
int Send (const struct iovec *iov, int iovcnt, int iotot=0)
void * Start ()
int Suspended ()
void setNext (XrdCmsClientMan *np)
int whatsUp (const char *user, const char *path)
int waitTime ()
 XrdCmsClientMan (char *host, int port, int cw, int nr, int rw, int rd)
 ~XrdCmsClientMan ()

Static Public Member Functions

static void setConfig (char *cfn)

Static Public Attributes

static char doDebug = 0

Private Member Functions

int Hookup ()
int Receive ()
void relayResp ()
void chkStatus ()
void setStatus ()

Private Attributes

XrdSysSemaphore syncResp
XrdCmsRespQ RespQ
XrdCmsClientManNext
XrdSysMutex myData
XrdLinkLink
char * Host
char * HPfx
int Port
int manMask
int dally
int Active
int Silent
int Suspend
int RecvCnt
int SendCnt
int nrMax
int maxMsgID
int repWait
int repWMax
int minDelay
int maxDelay
int qTime
int chkCount
time_t lastUpdt
time_t lastTOut
XrdCms::CmsRRHdr Response
XrdNetBufferNetBuff

Static Private Attributes

static XrdSysMutex manMutex
static XrdNetBufferQ BuffQ
static char * ConfigFN = 0
static const int chkVal = 256

Constructor & Destructor Documentation

XrdCmsClientMan::XrdCmsClientMan ( char *  host,
int  port,
int  cw,
int  nr,
int  rw,
int  rd 
)
XrdCmsClientMan::~XrdCmsClientMan ( )

Member Function Documentation

void XrdCmsClientMan::chkStatus ( ) [private]
int XrdCmsClientMan::delayResp ( XrdOucErrInfo Resp)
int XrdCmsClientMan::Hookup ( ) [private]
int XrdCmsClientMan::isActive ( ) [inline]
char* XrdCmsClientMan::Name ( ) [inline]

References Host.

Referenced by XrdCmsFinderRMT::Prepare().

XrdCmsClientMan* XrdCmsClientMan::nextManager ( ) [inline]
char* XrdCmsClientMan::NPfx ( ) [inline]

References HPfx.

int XrdCmsClientMan::Receive ( ) [private]
void XrdCmsClientMan::relayResp ( ) [private]
int XrdCmsClientMan::Send ( char *  msg,
int  mlen = 0 
)
int XrdCmsClientMan::Send ( const struct iovec iov,
int  iovcnt,
int  iotot = 0 
)
static void XrdCmsClientMan::setConfig ( char *  cfn) [inline, static]

References ConfigFN.

Referenced by XrdCmsFinderRMT::Configure().

void XrdCmsClientMan::setNext ( XrdCmsClientMan np) [inline]

References Next.

Referenced by XrdCmsFinderRMT::StartManagers().

void XrdCmsClientMan::setStatus ( ) [private]
void * XrdCmsClientMan::Start ( )
int XrdCmsClientMan::Suspended ( ) [inline]
int XrdCmsClientMan::waitTime ( ) [inline]

References repWait.

Referenced by XrdCmsFinderRMT::send2Man().

int XrdCmsClientMan::whatsUp ( const char *  user,
const char *  path 
)

Member Data Documentation

int XrdCmsClientMan::Active [private]

Referenced by relayResp(), and XrdCmsClientMan().

Referenced by chkStatus(), and XrdCmsClientMan().

const int XrdCmsClientMan::chkVal = 256 [static, private]

Referenced by chkStatus(), and XrdCmsClientMan().

char * XrdCmsClientMan::ConfigFN = 0 [static, private]

Referenced by setConfig().

int XrdCmsClientMan::dally [private]

Referenced by Hookup(), Start(), and XrdCmsClientMan().

char XrdCmsClientMan::doDebug = 0 [static]
char* XrdCmsClientMan::Host [private]
char* XrdCmsClientMan::HPfx [private]
time_t XrdCmsClientMan::lastTOut [private]

Referenced by Hookup(), whatsUp(), and XrdCmsClientMan().

time_t XrdCmsClientMan::lastUpdt [private]

Referenced by chkStatus(), and XrdCmsClientMan().

int XrdCmsClientMan::manMask [private]

Referenced by Hookup(), and XrdCmsClientMan().

Referenced by Hookup().

Referenced by whatsUp(), and XrdCmsClientMan().

Referenced by delayResp().

Referenced by whatsUp(), and XrdCmsClientMan().

Referenced by nextManager(), and setNext().

int XrdCmsClientMan::nrMax [private]

Referenced by whatsUp(), and XrdCmsClientMan().

int XrdCmsClientMan::Port [private]

Referenced by Hookup(), and XrdCmsClientMan().

int XrdCmsClientMan::qTime [private]

Referenced by Hookup(), and whatsUp().

int XrdCmsClientMan::RecvCnt [private]
int XrdCmsClientMan::repWait [private]
int XrdCmsClientMan::repWMax [private]

Referenced by Hookup(), whatsUp(), and XrdCmsClientMan().

Referenced by Receive(), relayResp(), setStatus(), and Start().

Referenced by delayResp(), and relayResp().

int XrdCmsClientMan::SendCnt [private]

Referenced by Hookup(), and Send().

int XrdCmsClientMan::Silent [private]

Referenced by Hookup(), whatsUp(), and XrdCmsClientMan().

int XrdCmsClientMan::Suspend [private]

Referenced by delayResp(), and Start().


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