|
Public Member Functions |
void | Bind () |
void | Bind (pthread_t tid) |
int | Client (char *buff, int blen) |
int | Close (int defer=0) |
void | DoIt () |
int | FDnum () |
int | getIOStats (long long &inbytes, long long &outbytes, int &numstall, int &numtardy) |
XrdProtocol * | getProtocol () |
void | Hold (int lk) |
unsigned int | Inst () |
int | isFlawed () |
int | isInstance (unsigned int inst) |
const char * | Name (sockaddr *ipaddr=0) |
const char * | Host (sockaddr *ipaddr=0) |
int | Peek (char *buff, int blen, int timeout=-1) |
int | Recv (char *buff, int blen) |
int | Recv (char *buff, int blen, int timeout) |
int | RecvAll (char *buff, int blen, int timeout=-1) |
int | Send (const char *buff, int blen) |
int | Send (const struct iovec *iov, int iocnt, int bytes=0) |
int | Send (const struct sfVec *sdP, int sdn) |
void | Serialize () |
int | setEtext (const char *text) |
void | setID (const char *userid, int procid) |
XrdProtocol * | setProtocol (XrdProtocol *pp) |
void | setRef (int cnt) |
void | syncStats (int *ctime=0) |
int | Terminate (const XrdLink *owner, int fdnum, unsigned int inst) |
time_t | timeCon () |
int | UseCnt () |
| XrdLink () |
| ~XrdLink () |
Static Public Member Functions |
XrdLink * | Alloc (XrdNetPeer &Peer, int opts=0) |
XrdLink * | fd2link (int fd) |
XrdLink * | fd2link (int fd, unsigned int inst) |
XrdLink * | Find (int &curr, XrdLinkMatch *who=0) |
int | getName (int &curr, char *bname, int blen, XrdLinkMatch *who=0) |
void | setKWT (int wkSec, int kwSec) |
int | Setup (int maxfd, int idlewait) |
int | Stats (char *buff, int blen, int do_sync=0) |
Public Attributes |
char * | ID |
Static Public Attributes |
const int | sfMax = 8 |
int | sfOK = 0 |
Private Member Functions |
void | Reset () |
int | sendData (const char *Buff, int Blen) |
Private Attributes |
long long | BytesIn |
long long | BytesInTot |
long long | BytesOut |
long long | BytesOutTot |
int | stallCnt |
int | stallCntTot |
int | tardyCnt |
int | tardyCntTot |
int | SfIntr |
sockaddr | InetAddr |
char | Uname [24] |
char | Lname [232] |
char * | HostName |
int | HNlen |
pthread_t | TID |
XrdSysMutex | opMutex |
XrdSysMutex | rdMutex |
XrdSysMutex | wrMutex |
XrdSysSemaphore | IOSemaphore |
XrdSysCondVar * | KillcvP |
XrdLink * | Next |
XrdNetBuffer * | udpbuff |
XrdProtocol * | Protocol |
XrdProtocol * | ProtoAlt |
XrdPoll * | Poller |
pollfd * | PollEnt |
char * | Etext |
int | FD |
unsigned int | Instance |
time_t | conTime |
int | InUse |
int | doPost |
char | LockReads |
char | KeepFD |
char | isEnabled |
char | isIdle |
char | inQ |
char | tBound |
char | KillCnt |
Static Private Attributes |
XrdSysMutex | LTMutex |
XrdLink ** | LinkTab |
char * | LinkBat |
unsigned int | LinkAlloc |
int | LTLast = -1 |
const char * | TraceID = "Link" |
int | devNull = open("/dev/null", O_RDONLY) |
short | killWait = 3 |
short | waitKill = 4 |
long long | LinkBytesIn = 0 |
long long | LinkBytesOut = 0 |
long long | LinkConTime = 0 |
long long | LinkCountTot = 0 |
int | LinkCount = 0 |
int | LinkCountMax = 0 |
int | LinkTimeOuts = 0 |
int | LinkStalls = 0 |
int | LinkSfIntr = 0 |
XrdSysMutex | statsMutex |
const char | KillMax = 60 |
const char | KillMsk = 0x7f |
const char | KillXwt = 0x80 |
Friends |
class | XrdLinkScan |
class | XrdPoll |
class | XrdPollPoll |
class | XrdPollDev |
class | XrdPollE |