#include <TXSocket.h>
Public Member Functions | |
TXSockPipe (const char *loc="") | |
virtual | ~TXSockPipe () |
Bool_t | IsValid () const |
TXSocket * | GetLastReady () |
Int_t | GetRead () const |
Int_t | Post (TSocket *s) |
Int_t | Clean (TSocket *s) |
Int_t | Flush (TSocket *s) |
void | DumpReadySock () |
void | SetLoc (const char *loc="") |
Private Attributes | |
TMutex | fMutex |
Int_t | fPipe [2] |
TString | fLoc |
TList | fReadySock |
Definition at line 272 of file TXSocket.h.
TXSockPipe::TXSockPipe | ( | const char * | loc = "" |
) |
TXSockPipe::~TXSockPipe | ( | ) | [virtual] |
Bool_t TXSockPipe::IsValid | ( | ) | const [inline] |
Definition at line 278 of file TXSocket.h.
References fPipe, kFALSE, and kTRUE.
Referenced by Clean(), Flush(), Post(), and TXSocket::TXSocket().
TXSocket * TXSockPipe::GetLastReady | ( | ) |
Definition at line 2306 of file TXSocket.cxx.
References fMutex, fReadySock, TList::Last(), and R__LOCKGUARD.
Int_t TXSockPipe::GetRead | ( | ) | const [inline] |
Definition at line 2196 of file TXSocket.cxx.
References TList::Add(), c, TString::Data(), fLoc, fMutex, fPipe, fReadySock, gDebug, TCollection::GetSize(), IsValid(), Printf(), R__LOCKGUARD, s, and write.
Referenced by TXSocket::PostMsg(), TXSocket::ProcessUnsolicitedMsg(), and TXProofServ::Terminate().
Definition at line 2226 of file TXSocket.cxx.
References c, TString::Data(), fLoc, fMutex, fPipe, fReadySock, gDebug, TCollection::GetSize(), IsValid(), Printf(), R__LOCKGUARD, read, TList::Remove(), and s.
Referenced by TXSocket::PickUpReady().
Definition at line 2256 of file TXSocket.cxx.
References c, TString::Data(), TList::FindObject(), fLoc, fMutex, fPipe, fReadySock, gDebug, IsValid(), o, Printf(), R__LOCKGUARD, read, TList::Remove(), and s.
Referenced by TXSocket::Close(), and TXSlave::FlushSocket().
void TXSockPipe::DumpReadySock | ( | ) |
Definition at line 2291 of file TXSocket.cxx.
References buf, TString::Data(), fLoc, fMutex, Form(), fReadySock, TCollection::GetSize(), o, Printf(), and R__LOCKGUARD.
Referenced by TXSocket::ProcessUnsolicitedMsg().
void TXSockPipe::SetLoc | ( | const char * | loc = "" |
) | [inline] |
TMutex TXSockPipe::fMutex [private] |
Definition at line 291 of file TXSocket.h.
Referenced by Clean(), DumpReadySock(), Flush(), GetLastReady(), and Post().
Int_t TXSockPipe::fPipe[2] [private] |
Definition at line 292 of file TXSocket.h.
Referenced by Clean(), Flush(), GetRead(), IsValid(), Post(), TXSockPipe(), and ~TXSockPipe().
TString TXSockPipe::fLoc [private] |
Definition at line 293 of file TXSocket.h.
Referenced by Clean(), DumpReadySock(), Flush(), Post(), and SetLoc().
TList TXSockPipe::fReadySock [private] |
Definition at line 294 of file TXSocket.h.
Referenced by Clean(), DumpReadySock(), Flush(), GetLastReady(), and Post().