xrootd
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdCmsClientMan Class Reference

#include <XrdCmsClientMan.hh>

Collaboration diagram for XrdCmsClientMan:
Collaboration graph
[legend]

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 (const 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 const 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
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 ( const char *  cfn)
inlinestatic

References ConfigFN.

Referenced by XrdCmsFinderRMT::Configure().

static void XrdCmsClientMan::setNetwork ( XrdInet nP)
inlinestatic

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
XrdNetBufferQ XrdCmsClientMan::BuffQ
staticprivate

Referenced by relayResp(), and XrdCmsClientMan().

int XrdCmsClientMan::chkCount
private

Referenced by chkStatus(), and XrdCmsClientMan().

const int XrdCmsClientMan::chkVal = 256
staticprivate

Referenced by chkStatus(), and XrdCmsClientMan().

const char * XrdCmsClientMan::ConfigFN = 0
staticprivate

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

XrdLink* XrdCmsClientMan::Link
private
int XrdCmsClientMan::manMask
private

Referenced by Hookup(), and XrdCmsClientMan().

XrdSysMutex XrdCmsClientMan::manMutex
staticprivate

Referenced by Hookup().

int XrdCmsClientMan::maxDelay
private

Referenced by whatsUp(), and XrdCmsClientMan().

int XrdCmsClientMan::maxMsgID
private

Referenced by delayResp().

int XrdCmsClientMan::minDelay
private

Referenced by whatsUp(), and XrdCmsClientMan().

XrdSysMutex XrdCmsClientMan::myData
private
XrdNetBuffer* XrdCmsClientMan::NetBuff
private
XrdInet * XrdCmsClientMan::Network = 0
staticprivate

Referenced by Hookup(), and setNetwork().

XrdCmsClientMan* XrdCmsClientMan::Next
private
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().

XrdCms::CmsRRHdr XrdCmsClientMan::Response
private

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

XrdCmsRespQ XrdCmsClientMan::RespQ
private

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
XrdSysSemaphore XrdCmsClientMan::syncResp
private

Referenced by delayResp(), and Start().


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