ROOT  6.06/08
Reference Guide
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

XrdSysRecMutex fRdMtx
 
XrdSysRecMutex fWrMtx
 
int fPipe [2]
 

#include <XrdProofdAux.h>

Constructor & Destructor Documentation

§ XrdProofdPipe()

XrdProofdPipe::XrdProofdPipe ( )

Constructor: create the pipe.

Definition at line 1725 of file XrdProofdAux.cxx.

§ ~XrdProofdPipe()

XrdProofdPipe::~XrdProofdPipe ( )
virtual

Destructor.

Definition at line 1737 of file XrdProofdAux.cxx.

Member Function Documentation

§ Close()

void XrdProofdPipe::Close ( )

If open, close and invalidated the pipe descriptors.

Definition at line 1746 of file XrdProofdAux.cxx.

Referenced by XrdProofdProofServMgr::Create().

§ IsValid()

bool XrdProofdPipe::IsValid ( ) const
inline

§ Poll()

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

§ Post()

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

§ Recv()

int XrdProofdPipe::Recv ( XpdMsg msg)

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: