Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
XrdProofdPipe Class Reference

Definition at line 200 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 209 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 203 of file XrdProofdAux.h.

◆ fRdMtx

XrdSysRecMutex XrdProofdPipe::fRdMtx
private

Definition at line 201 of file XrdProofdAux.h.

◆ fWrMtx

XrdSysRecMutex XrdProofdPipe::fWrMtx
private

Definition at line 202 of file XrdProofdAux.h.


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