xrootd
Loading...
Searching...
No Matches
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()

XrdLinkXeq::~XrdLinkXeq ( )
inline

Member Function Documentation

◆ AddrInfo()

XrdNetAddrInfo * XrdLinkXeq::AddrInfo ( )
inline

References Addr.

◆ Backlog()

int XrdLinkXeq::Backlog ( )

◆ Client()

int XrdLinkXeq::Client ( char *  buff,
int  blen 
)

◆ Close()

int XrdLinkXeq::Close ( bool  defer = false)

◆ DoIt()

void XrdLinkXeq::DoIt ( )
virtual

Reimplemented from XrdLink.

◆ getIOStats()

int XrdLinkXeq::getIOStats ( long long &  inbytes,
long long &  outbytes,
int &  numstall,
int &  numtardy 
)
inline

◆ getName()

static int XrdLinkXeq::getName ( int &  curr,
char *  bname,
int  blen,
XrdLinkMatch who = 0 
)
static

◆ getPeerCerts()

XrdTlsPeerCerts * XrdLinkXeq::getPeerCerts ( )

◆ getProtocol()

XrdProtocol * XrdLinkXeq::getProtocol ( )
inline

References Protocol.

◆ Name()

const char * XrdLinkXeq::Name ( ) const
inline

References Lname.

◆ NetAddr()

const XrdNetAddr * XrdLinkXeq::NetAddr ( ) const
inline

References Addr.

◆ Peek()

int XrdLinkXeq::Peek ( char *  buff,
int  blen,
int  timeout = -1 
)

◆ Recv() [1/3]

int XrdLinkXeq::Recv ( char *  buff,
int  blen 
)

◆ Recv() [2/3]

int XrdLinkXeq::Recv ( char *  buff,
int  blen,
int  timeout 
)

◆ Recv() [3/3]

int XrdLinkXeq::Recv ( const struct iovec *  iov,
int  iocnt,
int  timeout 
)

◆ RecvAll()

int XrdLinkXeq::RecvAll ( char *  buff,
int  blen,
int  timeout = -1 
)

◆ RecvIOV()

int XrdLinkXeq::RecvIOV ( const struct iovec *  iov,
int  iocnt 
)
protected

◆ Register()

bool XrdLinkXeq::Register ( const char *  hName)

◆ Reset()

void XrdLinkXeq::Reset ( )
protected

◆ Send() [1/3]

int XrdLinkXeq::Send ( const char *  buff,
int  blen 
)

◆ Send() [2/3]

int XrdLinkXeq::Send ( const sfVec sdP,
int  sdn 
)

◆ Send() [3/3]

int XrdLinkXeq::Send ( const struct iovec *  iov,
int  iocnt,
int  bytes = 0 
)

◆ sendData()

int XrdLinkXeq::sendData ( const char *  Buff,
int  Blen 
)
protected

◆ SendIOV()

int XrdLinkXeq::SendIOV ( const struct iovec *  iov,
int  iocnt,
int  bytes 
)
protected

◆ setID()

void XrdLinkXeq::setID ( const char *  userid,
int  procid 
)

◆ setLocation()

void XrdLinkXeq::setLocation ( XrdNetAddrInfo::LocInfo loc)
inline

References Addr, and XrdNetAddr::SetLocation().

◆ setNB()

bool XrdLinkXeq::setNB ( )

◆ setProtName()

void XrdLinkXeq::setProtName ( const char *  name)

◆ setProtocol()

XrdProtocol * XrdLinkXeq::setProtocol ( XrdProtocol pp,
bool  push 
)

◆ setTLS()

bool XrdLinkXeq::setTLS ( bool  enable,
XrdTlsContext ctx = 0 
)

◆ SFError()

int XrdLinkXeq::SFError ( int  rc)
protected

◆ Shutdown()

void XrdLinkXeq::Shutdown ( bool  getLock)

◆ Stats()

static int XrdLinkXeq::Stats ( char *  buff,
int  blen,
bool  do_sync = false 
)
static

◆ syncStats()

void XrdLinkXeq::syncStats ( int *  ctime = 0)

◆ TLS_Error()

int XrdLinkXeq::TLS_Error ( const char *  act,
XrdTls::RC  rc 
)
protected

◆ TLS_Peek()

int XrdLinkXeq::TLS_Peek ( char *  Buff,
int  Blen,
int  timeout 
)

◆ TLS_Recv() [1/3]

int XrdLinkXeq::TLS_Recv ( char *  Buff,
int  Blen 
)

◆ TLS_Recv() [2/3]

int XrdLinkXeq::TLS_Recv ( char *  Buff,
int  Blen,
int  timeout,
bool  havelock = false 
)

◆ TLS_Recv() [3/3]

int XrdLinkXeq::TLS_Recv ( const struct iovec *  iov,
int  iocnt,
int  timeout 
)

◆ TLS_RecvAll()

int XrdLinkXeq::TLS_RecvAll ( char *  Buff,
int  Blen,
int  timeout 
)

◆ TLS_Send() [1/3]

int XrdLinkXeq::TLS_Send ( const char *  Buff,
int  Blen 
)

◆ TLS_Send() [2/3]

int XrdLinkXeq::TLS_Send ( const sfVec sfP,
int  sfN 
)

◆ TLS_Send() [3/3]

int XrdLinkXeq::TLS_Send ( const struct iovec *  iov,
int  iocnt,
int  bytes 
)

◆ TLS_Write()

bool XrdLinkXeq::TLS_Write ( const char *  Buff,
int  Blen 
)
protected

◆ verTLS()

const char * XrdLinkXeq::verTLS ( )

Member Data Documentation

◆ Addr

XrdNetAddr XrdLinkXeq::Addr
protected

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

◆ BytesIn

long long XrdLinkXeq::BytesIn
protected

Referenced by getIOStats().

◆ BytesInTot

long long XrdLinkXeq::BytesInTot
protected

Referenced by getIOStats().

◆ BytesOut

long long XrdLinkXeq::BytesOut
protected

Referenced by getIOStats().

◆ BytesOutTot

long long XrdLinkXeq::BytesOutTot
protected

Referenced by getIOStats().

◆ HNlen

int XrdLinkXeq::HNlen
protected

◆ isIdle

char XrdLinkXeq::isIdle
protected

◆ KeepFD

bool XrdLinkXeq::KeepFD
protected

◆ LinkBytesIn

long long XrdLinkXeq::LinkBytesIn
staticprotected

◆ LinkBytesOut

long long XrdLinkXeq::LinkBytesOut
staticprotected

◆ LinkConTime

long long XrdLinkXeq::LinkConTime
staticprotected

◆ LinkCount

int XrdLinkXeq::LinkCount
staticprotected

◆ LinkCountMax

int XrdLinkXeq::LinkCountMax
staticprotected

◆ LinkCountTot

long long XrdLinkXeq::LinkCountTot
staticprotected

◆ LinkInfo

XrdLinkInfo XrdLinkXeq::LinkInfo

Referenced by getIOStats().

◆ LinkSfIntr

int XrdLinkXeq::LinkSfIntr
staticprotected

◆ LinkStalls

int XrdLinkXeq::LinkStalls
staticprotected

◆ LinkTimeOuts

int XrdLinkXeq::LinkTimeOuts
staticprotected

◆ Lname

char XrdLinkXeq::Lname[256]
protected

Referenced by Name().

◆ LockReads

bool XrdLinkXeq::LockReads
protected

◆ PollInfo

XrdPollInfo XrdLinkXeq::PollInfo

Referenced by XrdLinkCtl::fd2PollInfo().

◆ ProtoAlt

XrdProtocol* XrdLinkXeq::ProtoAlt
protected

◆ Protocol

XrdProtocol* XrdLinkXeq::Protocol
protected

Referenced by getProtocol().

◆ rdMutex

XrdSysMutex XrdLinkXeq::rdMutex
protected

◆ sendQ

XrdSendQ* XrdLinkXeq::sendQ
protected

◆ SfIntr

int XrdLinkXeq::SfIntr
protected

◆ stallCnt

int XrdLinkXeq::stallCnt
protected

Referenced by getIOStats().

◆ stallCntTot

int XrdLinkXeq::stallCntTot
protected

Referenced by getIOStats().

◆ statsMutex

XrdSysMutex XrdLinkXeq::statsMutex
staticprotected

◆ tardyCnt

int XrdLinkXeq::tardyCnt
protected

Referenced by getIOStats().

◆ tardyCntTot

int XrdLinkXeq::tardyCntTot
protected

Referenced by getIOStats().

◆ tlsIO

XrdTlsSocket XrdLinkXeq::tlsIO
protected

◆ TraceID

const char* XrdLinkXeq::TraceID
staticprotected

◆ Uname

char XrdLinkXeq::Uname[24]
protected

◆ wrMutex

XrdSysMutex XrdLinkXeq::wrMutex
protected

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