151 int &numstall,
int &numtardy);
271int Peek(
char *buff,
int blen,
int timeout=-1);
301int Recv(
char *buff,
int blen,
int timeout);
318int Recv(
const struct iovec *
iov,
int iocnt,
int timeout);
335int RecvAll(
char *buff,
int blen,
int timeout=-1);
361int Send(
const char *buff,
int blen);
375int Send(
const struct iovec *
iov,
int iocnt,
int bytes=0);
418void setID(
const char *userid,
int procid);
499static int Stats(
char *buff,
int blen,
bool do_sync=0);
527int Terminate(
const char *owner,
int fdnum,
unsigned int inst);
Definition XrdLinkMatch.hh:35
Definition XrdLinkXeq.hh:53
static int Stats(char *buff, int blen, bool do_sync=0)
XrdLinkXeq & linkXQ
Definition XrdLink.hh:590
XrdProtocol * setProtocol(XrdProtocol *pp, bool runit=false, bool push=false)
XrdOucSFVec sfVec
Definition XrdLink.hh:390
void * rsvd1[3]
Definition XrdLink.hh:589
unsigned int Instance
Definition XrdLink.hh:592
void Serialize()
Wait for all outstanding requests to be completed on the link.
int Recv(const struct iovec *iov, int iocnt, int timeout)
bool isBridged
Definition XrdLink.hh:593
int Wait4Data(int timeout)
bool isTLS
Definition XrdLink.hh:594
int setEtext(const char *text)
bool isInstance(unsigned int inst) const
~XrdLink()
Definition XrdLink.hh:583
bool setTLS(bool enable, XrdTlsContext *ctx=0)
Enable or disable TLS on the link.
bool hasTLS() const
Definition XrdLink.hh:563
int Peek(char *buff, int blen, int timeout=-1)
int Recv(char *buff, int blen)
void syncStats(int *ctime=0)
int Recv(char *buff, int blen, int timeout)
int Send(const sfVec *sdP, int sdn)
static int getName(int &curr, char *bname, int blen, XrdLinkMatch *who=0)
time_t timeCon() const
Return the time the link was made active (i.e. time of connection).
int Send(const struct iovec *iov, int iocnt, int bytes=0)
int Close(bool defer=false)
int Terminate(const char *owner, int fdnum, unsigned int inst)
void setID(const char *userid, int procid)
int UseCnt() const
Return link's reference count.
const XrdNetAddr * NetAddr() const
int RecvAll(char *buff, int blen, int timeout=-1)
void Enable()
Enable the link to field interrupts.
char rsvd2[2]
Definition XrdLink.hh:595
XrdTlsPeerCerts * getPeerCerts()
XrdNetAddrInfo * AddrInfo()
char * ID
Pointer to the client's link identity.
Definition XrdLink.hh:210
static bool sfOK
Definition XrdLink.hh:388
int Send(const char *buff, int blen)
bool Register(const char *hName)
void armBridge()
Mark this link as an in-memory communications bridge (internal use only).
bool hasBridge() const
Definition XrdLink.hh:554
static XrdLink * Find(int &curr, XrdLinkMatch *who=0)
void setProtName(const char *name)
void setLocation(XrdNetAddrInfo::LocInfo &loc)
int getIOStats(long long &inbytes, long long &outbytes, int &numstall, int &numtardy)
XrdProtocol * getProtocol()
Obtain current protocol object pointer.
int Client(char *buff, int blen)
const char * Host() const
Definition XrdLink.hh:204
const char * Name() const
unsigned int Inst() const
Definition XrdLink.hh:218
char * HostName
Definition XrdLink.hh:591
void Shutdown(bool getLock)
Definition XrdNetAddrInfo.hh:54
Definition XrdNetAddr.hh:42
Definition XrdPollInfo.hh:37
Definition XrdProtocol.hh:125
Definition XrdTlsContext.hh:37
Definition XrdTlsPeerCerts.hh:35
Definition XrdNetAddrInfo.hh:195
Definition XrdOucSFVec.hh:43
Definition XrdOucIOVec.hh:65