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 setNetwork (XrdInet *nP)
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 XrdInetNetwork = 0
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().

static void XrdCmsClientMan::setNetwork ( XrdInet nP) [inline, static]

References Network.

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 XrdCmsClientMan(), and relayResp().

Referenced by XrdCmsClientMan(), and chkStatus().

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

Referenced by XrdCmsClientMan(), and chkStatus().

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

Referenced by setConfig().

int XrdCmsClientMan::dally [private]

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

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

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

time_t XrdCmsClientMan::lastUpdt [private]

Referenced by XrdCmsClientMan(), and chkStatus().

int XrdCmsClientMan::manMask [private]

Referenced by XrdCmsClientMan(), and Hookup().

Referenced by Hookup().

Referenced by XrdCmsClientMan(), and whatsUp().

Referenced by delayResp().

Referenced by XrdCmsClientMan(), and whatsUp().

XrdInet * XrdCmsClientMan::Network = 0 [static, private]

Referenced by Hookup(), and setNetwork().

Referenced by nextManager(), and setNext().

int XrdCmsClientMan::nrMax [private]

Referenced by XrdCmsClientMan(), and whatsUp().

int XrdCmsClientMan::Port [private]

Referenced by XrdCmsClientMan(), and Hookup().

int XrdCmsClientMan::qTime [private]

Referenced by whatsUp(), and Hookup().

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

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

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

Referenced by delayResp(), and relayResp().

int XrdCmsClientMan::SendCnt [private]

Referenced by Send(), and Hookup().

int XrdCmsClientMan::Silent [private]

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

int XrdCmsClientMan::Suspend [private]

Referenced by delayResp(), and Start().


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