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

Definition at line 197 of file XrdProofdAux.h.

Public Member Functions

 XrdProofdPipe ()
 Constructor: create the pipe.
 
virtual ~XrdProofdPipe ()
 Destructor.
 
void Close ()
 If open, close and invalidated the pipe descriptors.
 
bool IsValid () const
 
int Poll (int to=-1)
 Poll over the read pipe for to secs; return whatever poll returns.
 
int Post (int type, const char *msg)
 Post message on the pipe.
 
int Recv (XpdMsg &msg)
 Recv message from the pipe.
 

Private Attributes

int fPipe [2]
 
XrdSysRecMutex fRdMtx
 
XrdSysRecMutex fWrMtx
 

#include <XrdProofdAux.h>

Constructor & Destructor Documentation

◆ XrdProofdPipe()

XrdProofdPipe::XrdProofdPipe ( )

Constructor: create the pipe.

Definition at line 1727 of file XrdProofdAux.cxx.

◆ ~XrdProofdPipe()

XrdProofdPipe::~XrdProofdPipe ( )
virtual

Destructor.

Definition at line 1739 of file XrdProofdAux.cxx.

Member Function Documentation

◆ Close()

void XrdProofdPipe::Close ( )

If open, close and invalidated the pipe descriptors.

Definition at line 1748 of file XrdProofdAux.cxx.

◆ IsValid()

bool XrdProofdPipe::IsValid ( ) const
inline

Definition at line 206 of file XrdProofdAux.h.

◆ Poll()

int XrdProofdPipe::Poll ( int  to = -1)

Poll over the read pipe for to secs; return whatever poll returns.

Definition at line 1814 of file XrdProofdAux.cxx.

◆ Post()

int XrdProofdPipe::Post ( int  type,
const char *  msg 
)

Post message on the pipe.

Definition at line 1761 of file XrdProofdAux.cxx.

◆ Recv()

int XrdProofdPipe::Recv ( XpdMsg msg)

Recv message from the pipe.

Definition at line 1791 of file XrdProofdAux.cxx.

Member Data Documentation

◆ fPipe

int XrdProofdPipe::fPipe[2]
private

Definition at line 200 of file XrdProofdAux.h.

◆ fRdMtx

XrdSysRecMutex XrdProofdPipe::fRdMtx
private

Definition at line 198 of file XrdProofdAux.h.

◆ fWrMtx

XrdSysRecMutex XrdProofdPipe::fWrMtx
private

Definition at line 199 of file XrdProofdAux.h.

  • proof/proofd/inc/XrdProofdAux.h
  • proof/proofd/src/XrdProofdAux.cxx