XRootD
XrdLinkInfo Class Reference

#include <XrdLinkInfo.hh>

+ Collaboration diagram for XrdLinkInfo:

Public Member Functions

 XrdLinkInfo ()
 
 ~XrdLinkInfo ()
 
void Reset ()
 

Public Attributes

time_t conTime
 
int doPost
 
int dspCnt
 
int dspPost
 
XrdSysSemaphore dspSem
 
char * Etext
 
int FD
 
int InUse
 
XrdSysSemaphore IOSemaphore
 
char KillCnt
 
XrdSysCondVarKillcvP
 
XrdSysRecMutex opMutex
 

Detailed Description

Definition at line 38 of file XrdLinkInfo.hh.

Constructor & Destructor Documentation

◆ XrdLinkInfo()

XrdLinkInfo::XrdLinkInfo ( )
inline

Definition at line 67 of file XrdLinkInfo.hh.

67  : IOSemaphore(0, "link i/o"),
68  dspSem(0, "link dsp"), Etext(0) {Reset();}
void Reset()
Definition: XrdLinkInfo.hh:55
XrdSysSemaphore dspSem
Definition: XrdLinkInfo.hh:44
XrdSysSemaphore IOSemaphore
Definition: XrdLinkInfo.hh:43
char * Etext
Definition: XrdLinkInfo.hh:46

References Reset().

+ Here is the call graph for this function:

◆ ~XrdLinkInfo()

XrdLinkInfo::~XrdLinkInfo ( )
inline

Definition at line 70 of file XrdLinkInfo.hh.

70 {}

Member Function Documentation

◆ Reset()

void XrdLinkInfo::Reset ( )
inline

Definition at line 55 of file XrdLinkInfo.hh.

56  {KillcvP = 0;
57  conTime = time(0);
58  if (Etext) {free(Etext); Etext = 0;}
59  InUse = 1;
60  doPost = 0;
61  dspCnt = 0;
62  dspPost = 0;
63  FD = -1;
64  KillCnt = 0;
65  }
time_t conTime
Definition: XrdLinkInfo.hh:45
XrdSysCondVar * KillcvP
Definition: XrdLinkInfo.hh:42

References conTime, doPost, dspCnt, dspPost, Etext, FD, InUse, KillCnt, and KillcvP.

Referenced by XrdLinkInfo(), and XrdLinkXeq::Reset().

+ Here is the caller graph for this function:

Member Data Documentation

◆ conTime

time_t XrdLinkInfo::conTime

Definition at line 45 of file XrdLinkInfo.hh.

Referenced by Reset(), XrdLinkXeq::syncStats(), and XrdLink::timeCon().

◆ doPost

int XrdLinkInfo::doPost

Definition at line 49 of file XrdLinkInfo.hh.

Referenced by Reset(), XrdLink::Serialize(), and XrdLink::setRef().

◆ dspCnt

int XrdLinkInfo::dspCnt

Definition at line 50 of file XrdLinkInfo.hh.

Referenced by XrdLinkXeq::Close(), XrdLinkXeq::DoIt(), and Reset().

◆ dspPost

int XrdLinkInfo::dspPost

Definition at line 51 of file XrdLinkInfo.hh.

Referenced by XrdLinkXeq::Close(), XrdLinkXeq::DoIt(), and Reset().

◆ dspSem

XrdSysSemaphore XrdLinkInfo::dspSem

Definition at line 44 of file XrdLinkInfo.hh.

Referenced by XrdLinkXeq::Close(), and XrdLinkXeq::DoIt().

◆ Etext

char* XrdLinkInfo::Etext

Definition at line 46 of file XrdLinkInfo.hh.

Referenced by XrdLinkXeq::Close(), XrdLink::isFlawed(), Reset(), and XrdLink::setEtext().

◆ FD

◆ InUse

◆ IOSemaphore

XrdSysSemaphore XrdLinkInfo::IOSemaphore

Definition at line 43 of file XrdLinkInfo.hh.

Referenced by XrdLink::Serialize(), and XrdLink::setRef().

◆ KillCnt

char XrdLinkInfo::KillCnt

Definition at line 53 of file XrdLinkInfo.hh.

Referenced by Reset(), and XrdLink::Terminate().

◆ KillcvP

XrdSysCondVar* XrdLinkInfo::KillcvP

Definition at line 42 of file XrdLinkInfo.hh.

Referenced by XrdLinkXeq::Close(), Reset(), and XrdLink::Terminate().

◆ opMutex


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