Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
TXSockPipe Class Reference

Definition at line 266 of file TXSocket.h.

Public Member Functions

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

Private Attributes

TString fLoc
 
std::recursive_mutex fMutex
 
Int_t fPipe [2]
 
TList fReadySock
 

#include <TXSocket.h>

Constructor & Destructor Documentation

◆ TXSockPipe()

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

Constructor.

Definition at line 2259 of file TXSocket.cxx.

◆ ~TXSockPipe()

TXSockPipe::~TXSockPipe ( )
virtual

Destructor.

Definition at line 2273 of file TXSocket.cxx.

Member Function Documentation

◆ Clean()

Int_t TXSockPipe::Clean ( TSocket s)

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

Definition at line 2313 of file TXSocket.cxx.

◆ DumpReadySock()

void TXSockPipe::DumpReadySock ( )

Dump content of the ready socket list.

Definition at line 2378 of file TXSocket.cxx.

◆ Flush()

Int_t TXSockPipe::Flush ( TSocket s)

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

Definition at line 2344 of file TXSocket.cxx.

◆ GetLastReady()

TXSocket * TXSockPipe::GetLastReady ( )

Return last ready socket.

Definition at line 2393 of file TXSocket.cxx.

◆ GetRead()

Int_t TXSockPipe::GetRead ( ) const
inline

Definition at line 276 of file TXSocket.h.

◆ IsValid()

Bool_t TXSockPipe::IsValid ( ) const
inline

Definition at line 272 of file TXSocket.h.

◆ Post()

Int_t TXSockPipe::Post ( TSocket s)

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

Definition at line 2284 of file TXSocket.cxx.

◆ SetLoc()

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

Definition at line 282 of file TXSocket.h.

Member Data Documentation

◆ fLoc

TString TXSockPipe::fLoc
private

Definition at line 287 of file TXSocket.h.

◆ fMutex

std::recursive_mutex TXSockPipe::fMutex
private

Definition at line 285 of file TXSocket.h.

◆ fPipe

Int_t TXSockPipe::fPipe[2]
private

Definition at line 286 of file TXSocket.h.

◆ fReadySock

TList TXSockPipe::fReadySock
private

Definition at line 288 of file TXSocket.h.

Libraries for TXSockPipe:
[legend]

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