ROOT  6.06/09
Reference Guide
Public Member Functions | Private Attributes | List of all members
TXSockPipe Class Reference

Definition at line 281 of file TXSocket.h.

Public Member Functions

 TXSockPipe (const char *loc="")
 Constructor. More...
 
virtual ~TXSockPipe ()
 Destructor. More...
 
Bool_t IsValid () const
 
TXSocketGetLastReady ()
 Return last ready socket. More...
 
Int_t GetRead () const
 
Int_t Post (TSocket *s)
 Write a byte to the global pipe to signal new availibility of new messages. More...
 
Int_t Clean (TSocket *s)
 Read a byte to the global pipe to synchronize message pickup. More...
 
Int_t Flush (TSocket *s)
 Remove any reference to socket 's' from the global pipe and ready-socket queue. More...
 
void DumpReadySock ()
 Dump content of the ready socket list. More...
 
void SetLoc (const char *loc="")
 

Private Attributes

TMutex fMutex
 
Int_t fPipe [2]
 
TString fLoc
 
TList fReadySock
 

#include <TXSocket.h>

+ Collaboration diagram for TXSockPipe:

Constructor & Destructor Documentation

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

Constructor.

Definition at line 2203 of file TXSocket.cxx.

TXSockPipe::~TXSockPipe ( )
virtual

Destructor.

Definition at line 2217 of file TXSocket.cxx.

Member Function Documentation

Int_t TXSockPipe::Clean ( TSocket s)

Read a byte to the global pipe to synchronize message pickup.

Definition at line 2257 of file TXSocket.cxx.

Referenced by TXSocket::PickUpReady().

void TXSockPipe::DumpReadySock ( )

Dump content of the ready socket list.

Definition at line 2322 of file TXSocket.cxx.

Referenced by TXSocket::ProcessUnsolicitedMsg().

Int_t TXSockPipe::Flush ( TSocket s)

Remove any reference to socket 's' from the global pipe and ready-socket queue.

Definition at line 2288 of file TXSocket.cxx.

Referenced by TXSocket::Close(), and TXSlave::FlushSocket().

TXSocket * TXSockPipe::GetLastReady ( )

Return last ready socket.

Definition at line 2337 of file TXSocket.cxx.

Int_t TXSockPipe::GetRead ( ) const
inline

Definition at line 291 of file TXSocket.h.

Bool_t TXSockPipe::IsValid ( ) const
inline

Definition at line 287 of file TXSocket.h.

Referenced by Clean(), Flush(), Post(), and TXSocket::TXSocket().

Int_t TXSockPipe::Post ( TSocket s)

Write a byte to the global pipe to signal new availibility of new messages.

Definition at line 2228 of file TXSocket.cxx.

Referenced by TXSocket::PostMsg(), TXSocket::ProcessUnsolicitedMsg(), and TXProofServ::Terminate().

void TXSockPipe::SetLoc ( const char *  loc = "")
inline

Definition at line 297 of file TXSocket.h.

Referenced by TXSocket::SetLocation().

Member Data Documentation

TString TXSockPipe::fLoc
private

Definition at line 302 of file TXSocket.h.

Referenced by Clean(), DumpReadySock(), Flush(), Post(), and SetLoc().

TMutex TXSockPipe::fMutex
private

Definition at line 300 of file TXSocket.h.

Referenced by Clean(), DumpReadySock(), Flush(), GetLastReady(), and Post().

Int_t TXSockPipe::fPipe[2]
private

Definition at line 301 of file TXSocket.h.

Referenced by Clean(), Flush(), GetRead(), IsValid(), Post(), TXSockPipe(), and ~TXSockPipe().

TList TXSockPipe::fReadySock
private

Definition at line 303 of file TXSocket.h.

Referenced by Clean(), DumpReadySock(), Flush(), GetLastReady(), and Post().


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