Logo ROOT  
Reference Guide
XrdProofdPipe Class Reference

Definition at line 197 of file XrdProofdAux.h.

Public Member Functions

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

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.


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