ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

XrdSysRecMutex fRdMtx
 
XrdSysRecMutex fWrMtx
 
int fPipe [2]
 

#include <XrdProofdAux.h>

Constructor & Destructor Documentation

XrdProofdPipe::XrdProofdPipe ( )

Constructor: create the pipe.

Definition at line 1725 of file XrdProofdAux.cxx.

XrdProofdPipe::~XrdProofdPipe ( )
virtual

Destructor.

Definition at line 1737 of file XrdProofdAux.cxx.

Member Function Documentation

void XrdProofdPipe::Close ( )

If open, close and invalidated the pipe descriptors.

Definition at line 1746 of file XrdProofdAux.cxx.

Referenced by XrdProofdProofServMgr::Create(), and ~XrdProofdPipe().

bool XrdProofdPipe::IsValid ( ) const
inline
int XrdProofdPipe::Poll ( int  to = -1)
int XrdProofdPipe::Post ( int  type,
const char *  msg 
)
int XrdProofdPipe::Recv ( XpdMsg msg)

Member Data Documentation

int XrdProofdPipe::fPipe[2]
private

Definition at line 203 of file XrdProofdAux.h.

Referenced by Close(), IsValid(), Poll(), Post(), Recv(), and XrdProofdPipe().

XrdSysRecMutex XrdProofdPipe::fRdMtx
private

Definition at line 201 of file XrdProofdAux.h.

Referenced by Recv().

XrdSysRecMutex XrdProofdPipe::fWrMtx
private

Definition at line 202 of file XrdProofdAux.h.

Referenced by Post().


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