Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TXSockPipe Class Reference

Definition at line 266 of file TXSocket.h.

Public Member Functions

 TXSockPipe (const char *loc="")
 Constructor.
 
virtual ~TXSockPipe ()
 Destructor.
 
Int_t Clean (TSocket *s)
 Read a byte to the global pipe to synchronize message pickup.
 
void DumpReadySock ()
 Dump content of the ready socket list.
 
Int_t Flush (TSocket *s)
 Remove any reference to socket 's' from the global pipe and ready-socket queue.
 
TXSocketGetLastReady ()
 Return last ready socket.
 
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.
 
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.

  • proof/proofx/inc/TXSocket.h
  • proof/proofx/src/TXSocket.cxx