TXSockPipe Class Reference

#include <TXSocket.h>

List of all members.

Public Member Functions

 TXSockPipe (const char *loc="")
virtual ~TXSockPipe ()
Bool_t IsValid () const
TXSocketGetLastReady ()
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


Detailed Description

Definition at line 272 of file TXSocket.h.


Constructor & Destructor Documentation

TXSockPipe::TXSockPipe ( const char *  loc = ""  ) 

Definition at line 2172 of file TXSocket.cxx.

References fPipe, pipe, and Printf().

TXSockPipe::~TXSockPipe (  )  [virtual]

Definition at line 2186 of file TXSocket.cxx.

References close, and fPipe.


Member Function Documentation

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 282 of file TXSocket.h.

References fPipe.

Int_t TXSockPipe::Post ( TSocket s  ) 

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().

Int_t TXSockPipe::Clean ( TSocket s  ) 

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().

Int_t TXSockPipe::Flush ( TSocket s  ) 

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]

Definition at line 288 of file TXSocket.h.

References fLoc.

Referenced by TXSocket::SetLocation().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:49:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1