xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
XrdLinkXeq Class Reference

#include <XrdLinkXeq.hh>

Inheritance diagram for XrdLinkXeq:
Inheritance graph
[legend]
Collaboration diagram for XrdLinkXeq:
Collaboration graph
[legend]

Public Member Functions

XrdNetAddrInfoAddrInfo ()
 
int Backlog ()
 
int Client (char *buff, int blen)
 
int Close (bool defer=false)
 
void DoIt ()
 
int getIOStats (long long &inbytes, long long &outbytes, int &numstall, int &numtardy)
 
XrdTlsPeerCertsgetPeerCerts ()
 
XrdProtocolgetProtocol ()
 
const char * Name () const
 
const XrdNetAddrNetAddr () const
 
int Peek (char *buff, int blen, int timeout=-1)
 
int Recv (char *buff, int blen)
 
int Recv (char *buff, int blen, int timeout)
 
int Recv (const struct iovec *iov, int iocnt, int timeout)
 
int RecvAll (char *buff, int blen, int timeout=-1)
 
bool Register (const char *hName)
 
int Send (const char *buff, int blen)
 
int Send (const struct iovec *iov, int iocnt, int bytes=0)
 
int Send (const sfVec *sdP, int sdn)
 
void setID (const char *userid, int procid)
 
void setLocation (XrdNetAddrInfo::LocInfo &loc)
 
bool setNB ()
 
XrdProtocolsetProtocol (XrdProtocol *pp, bool push)
 
void setProtName (const char *name)
 
bool setTLS (bool enable, XrdTlsContext *ctx=0)
 
void Shutdown (bool getLock)
 
void syncStats (int *ctime=0)
 
int TLS_Peek (char *Buff, int Blen, int timeout)
 
int TLS_Recv (char *Buff, int Blen)
 
int TLS_Recv (char *Buff, int Blen, int timeout, bool havelock=false)
 
int TLS_Recv (const struct iovec *iov, int iocnt, int timeout)
 
int TLS_RecvAll (char *Buff, int Blen, int timeout)
 
int TLS_Send (const char *Buff, int Blen)
 
int TLS_Send (const struct iovec *iov, int iocnt, int bytes)
 
int TLS_Send (const sfVec *sfP, int sfN)
 
const char * verTLS ()
 
 XrdLinkXeq ()
 
 ~XrdLinkXeq ()
 

Static Public Member Functions

static int getName (int &curr, char *bname, int blen, XrdLinkMatch *who=0)
 
static int Stats (char *buff, int blen, bool do_sync=false)
 

Public Attributes

XrdLinkInfo LinkInfo
 
XrdPollInfo PollInfo
 

Protected Member Functions

int RecvIOV (const struct iovec *iov, int iocnt)
 
void Reset ()
 
int sendData (const char *Buff, int Blen)
 
int SendIOV (const struct iovec *iov, int iocnt, int bytes)
 
int SFError (int rc)
 
int TLS_Error (const char *act, XrdTls::RC rc)
 
bool TLS_Write (const char *Buff, int Blen)
 
- Protected Member Functions inherited from XrdJob
 XrdJob (const char *desc="")
 
virtual ~XrdJob ()
 

Protected Attributes

long long BytesIn
 
long long BytesInTot
 
long long BytesOut
 
long long BytesOutTot
 
int stallCnt
 
int stallCntTot
 
int tardyCnt
 
int tardyCntTot
 
int SfIntr
 
XrdProtocolProtocol
 
XrdProtocolProtoAlt
 
XrdTlsSocket tlsIO
 
XrdNetAddr Addr
 
XrdSysMutex rdMutex
 
XrdSysMutex wrMutex
 
XrdSendQsendQ
 
int HNlen
 
bool LockReads
 
bool KeepFD
 
char isIdle
 
char Uname [24]
 
char Lname [256]
 
- Protected Attributes inherited from XrdJob
XrdJobNextJob
 
const char * Comment
 

Static Protected Attributes

static const char * TraceID
 
static long long LinkBytesIn
 
static long long LinkBytesOut
 
static long long LinkConTime
 
static long long LinkCountTot
 
static int LinkCount
 
static int LinkCountMax
 
static int LinkTimeOuts
 
static int LinkStalls
 
static int LinkSfIntr
 
static XrdSysMutex statsMutex
 

Additional Inherited Members

Constructor & Destructor Documentation

XrdLinkXeq::XrdLinkXeq ( )
XrdLinkXeq::~XrdLinkXeq ( )
inline

Member Function Documentation

XrdNetAddrInfo* XrdLinkXeq::AddrInfo ( )
inline

References Addr.

int XrdLinkXeq::Backlog ( )
int XrdLinkXeq::Client ( char *  buff,
int  blen 
)
int XrdLinkXeq::Close ( bool  defer = false)
void XrdLinkXeq::DoIt ( )
virtual

Reimplemented from XrdLink.

int XrdLinkXeq::getIOStats ( long long &  inbytes,
long long &  outbytes,
int &  numstall,
int &  numtardy 
)
inline
static int XrdLinkXeq::getName ( int &  curr,
char *  bname,
int  blen,
XrdLinkMatch who = 0 
)
static
XrdTlsPeerCerts* XrdLinkXeq::getPeerCerts ( )
XrdProtocol* XrdLinkXeq::getProtocol ( )
inline

References Protocol.

const char* XrdLinkXeq::Name ( ) const
inline

References Lname.

const XrdNetAddr* XrdLinkXeq::NetAddr ( ) const
inline

References Addr.

int XrdLinkXeq::Peek ( char *  buff,
int  blen,
int  timeout = -1 
)
int XrdLinkXeq::Recv ( char *  buff,
int  blen 
)
int XrdLinkXeq::Recv ( char *  buff,
int  blen,
int  timeout 
)
int XrdLinkXeq::Recv ( const struct iovec *  iov,
int  iocnt,
int  timeout 
)
int XrdLinkXeq::RecvAll ( char *  buff,
int  blen,
int  timeout = -1 
)
int XrdLinkXeq::RecvIOV ( const struct iovec *  iov,
int  iocnt 
)
protected
bool XrdLinkXeq::Register ( const char *  hName)
void XrdLinkXeq::Reset ( )
protected
int XrdLinkXeq::Send ( const char *  buff,
int  blen 
)
int XrdLinkXeq::Send ( const struct iovec *  iov,
int  iocnt,
int  bytes = 0 
)
int XrdLinkXeq::Send ( const sfVec sdP,
int  sdn 
)
int XrdLinkXeq::sendData ( const char *  Buff,
int  Blen 
)
protected
int XrdLinkXeq::SendIOV ( const struct iovec *  iov,
int  iocnt,
int  bytes 
)
protected
void XrdLinkXeq::setID ( const char *  userid,
int  procid 
)
void XrdLinkXeq::setLocation ( XrdNetAddrInfo::LocInfo loc)
inline

References Addr, and XrdNetAddr::SetLocation().

bool XrdLinkXeq::setNB ( )
void XrdLinkXeq::setProtName ( const char *  name)
XrdProtocol* XrdLinkXeq::setProtocol ( XrdProtocol pp,
bool  push 
)
bool XrdLinkXeq::setTLS ( bool  enable,
XrdTlsContext ctx = 0 
)
int XrdLinkXeq::SFError ( int  rc)
protected
void XrdLinkXeq::Shutdown ( bool  getLock)
static int XrdLinkXeq::Stats ( char *  buff,
int  blen,
bool  do_sync = false 
)
static
void XrdLinkXeq::syncStats ( int *  ctime = 0)
int XrdLinkXeq::TLS_Error ( const char *  act,
XrdTls::RC  rc 
)
protected
int XrdLinkXeq::TLS_Peek ( char *  Buff,
int  Blen,
int  timeout 
)
int XrdLinkXeq::TLS_Recv ( char *  Buff,
int  Blen 
)
int XrdLinkXeq::TLS_Recv ( char *  Buff,
int  Blen,
int  timeout,
bool  havelock = false 
)
int XrdLinkXeq::TLS_Recv ( const struct iovec *  iov,
int  iocnt,
int  timeout 
)
int XrdLinkXeq::TLS_RecvAll ( char *  Buff,
int  Blen,
int  timeout 
)
int XrdLinkXeq::TLS_Send ( const char *  Buff,
int  Blen 
)
int XrdLinkXeq::TLS_Send ( const struct iovec *  iov,
int  iocnt,
int  bytes 
)
int XrdLinkXeq::TLS_Send ( const sfVec sfP,
int  sfN 
)
bool XrdLinkXeq::TLS_Write ( const char *  Buff,
int  Blen 
)
protected
const char* XrdLinkXeq::verTLS ( )

Member Data Documentation

XrdNetAddr XrdLinkXeq::Addr
protected

Referenced by AddrInfo(), NetAddr(), and setLocation().

long long XrdLinkXeq::BytesIn
protected

Referenced by getIOStats().

long long XrdLinkXeq::BytesInTot
protected

Referenced by getIOStats().

long long XrdLinkXeq::BytesOut
protected

Referenced by getIOStats().

long long XrdLinkXeq::BytesOutTot
protected

Referenced by getIOStats().

int XrdLinkXeq::HNlen
protected
char XrdLinkXeq::isIdle
protected
bool XrdLinkXeq::KeepFD
protected
long long XrdLinkXeq::LinkBytesIn
staticprotected
long long XrdLinkXeq::LinkBytesOut
staticprotected
long long XrdLinkXeq::LinkConTime
staticprotected
int XrdLinkXeq::LinkCount
staticprotected
int XrdLinkXeq::LinkCountMax
staticprotected
long long XrdLinkXeq::LinkCountTot
staticprotected
XrdLinkInfo XrdLinkXeq::LinkInfo

Referenced by getIOStats().

int XrdLinkXeq::LinkSfIntr
staticprotected
int XrdLinkXeq::LinkStalls
staticprotected
int XrdLinkXeq::LinkTimeOuts
staticprotected
char XrdLinkXeq::Lname[256]
protected

Referenced by Name().

bool XrdLinkXeq::LockReads
protected
XrdPollInfo XrdLinkXeq::PollInfo

Referenced by XrdLinkCtl::fd2PollInfo().

XrdProtocol* XrdLinkXeq::ProtoAlt
protected
XrdProtocol* XrdLinkXeq::Protocol
protected

Referenced by getProtocol().

XrdSysMutex XrdLinkXeq::rdMutex
protected
XrdSendQ* XrdLinkXeq::sendQ
protected
int XrdLinkXeq::SfIntr
protected
int XrdLinkXeq::stallCnt
protected

Referenced by getIOStats().

int XrdLinkXeq::stallCntTot
protected

Referenced by getIOStats().

XrdSysMutex XrdLinkXeq::statsMutex
staticprotected
int XrdLinkXeq::tardyCnt
protected

Referenced by getIOStats().

int XrdLinkXeq::tardyCntTot
protected

Referenced by getIOStats().

XrdTlsSocket XrdLinkXeq::tlsIO
protected
const char* XrdLinkXeq::TraceID
staticprotected
char XrdLinkXeq::Uname[24]
protected
XrdSysMutex XrdLinkXeq::wrMutex
protected

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