TProofServLogHandler Class Reference

#include <TProofServ.h>

Inheritance diagram for TProofServLogHandler:

TFileHandler TFileHandler TSysEvtHandler TSysEvtHandler TSysEvtHandler TSysEvtHandler TQObject TObject TQObject TObject TQObject TObject TQObject TObject TQObject TObject TQObject TObject TQObject TObject TQObject TObject List of all members.

Public Types

enum  EStatusBits
enum  EStatusBits

Public Member Functions

 TProofServLogHandler (const char *cmd, TSocket *s, const char *pfx="")
 TProofServLogHandler (FILE *f, TSocket *s, const char *pfx="")
virtual ~TProofServLogHandler ()
Bool_t IsValid ()
Bool_t Notify ()
Bool_t ReadNotify ()
 TProofServLogHandler (const char *cmd, TSocket *s, const char *pfx="")
 TProofServLogHandler (FILE *f, TSocket *s, const char *pfx="")
virtual ~TProofServLogHandler ()
Bool_t IsValid ()
Bool_t Notify ()
Bool_t ReadNotify ()

Static Public Member Functions

static void SetDefaultPrefix (const char *pfx)
static Int_t GetCmdRtn ()
static void SetDefaultPrefix (const char *pfx)
static Int_t GetCmdRtn ()

Private Attributes

TSocketfSocket
FILE * fFile
TString fPfx
TSocketfSocket
FILE * fFile

Static Private Attributes

static TString fgPfx
static Int_t fgCmdRtn

Detailed Description

Definition at line 372 of file TProofServ.h.


Member Enumeration Documentation

enum TProofServLogHandler::EStatusBits

Reimplemented from TObject.

Definition at line 382 of file TProofServ.h.

enum TProofServLogHandler::EStatusBits

Reimplemented from TObject.

Definition at line 382 of file TProofServ.h.


Constructor & Destructor Documentation

TProofServLogHandler::TProofServLogHandler ( const char *  cmd,
TSocket s,
const char *  pfx = "" 
)

Definition at line 222 of file TProofServ.cxx.

References TObject::Error(), fFile, fgCmdRtn, fSocket, gSystem, kFileIsPipe, Notify(), TSystem::OpenPipe(), TObject::ResetBit(), s, TObject::SetBit(), and TFileHandler::SetFd().

TProofServLogHandler::TProofServLogHandler ( FILE *  f,
TSocket s,
const char *  pfx = "" 
)

Definition at line 250 of file TProofServ.cxx.

References TObject::Error(), fFile, fgCmdRtn, kFileIsPipe, Notify(), TObject::ResetBit(), s, and TFileHandler::SetFd().

TProofServLogHandler::~TProofServLogHandler (  )  [virtual]

Definition at line 268 of file TProofServ.cxx.

References TSystem::ClosePipe(), fFile, fgCmdRtn, fSocket, gSystem, kFileIsPipe, TObject::ResetBit(), TObject::TestBit(), WEXITSTATUS, and WIFEXITED.

TProofServLogHandler::TProofServLogHandler ( const char *  cmd,
TSocket s,
const char *  pfx = "" 
)

TProofServLogHandler::TProofServLogHandler ( FILE *  f,
TSocket s,
const char *  pfx = "" 
)

virtual TProofServLogHandler::~TProofServLogHandler (  )  [virtual]


Member Function Documentation

Bool_t TProofServLogHandler::IsValid (  )  [inline]

Definition at line 387 of file TProofServ.h.

References fFile, fSocket, kFALSE, and kTRUE.

Referenced by Notify(), TProofServLogHandlerGuard::TProofServLogHandlerGuard(), and TProofServLogHandlerGuard::~TProofServLogHandlerGuard().

Bool_t TProofServLogHandler::Notify (  )  [virtual]

Reimplemented from TFileHandler.

Definition at line 285 of file TProofServ.cxx.

References TString::Data(), fFile, fgPfx, fPfx, fSocket, IsValid(), kPROOF_MESSAGE, kTRUE, TString::Length(), line, log(), m, and TSocket::Send().

Referenced by ReadNotify(), and TProofServLogHandler().

Bool_t TProofServLogHandler::ReadNotify (  )  [inline, virtual]

Reimplemented from TFileHandler.

Definition at line 390 of file TProofServ.h.

References Notify().

void TProofServLogHandler::SetDefaultPrefix ( const char *  pfx  )  [static]

Definition at line 318 of file TProofServ.cxx.

References fgPfx.

Referenced by TProofServ::CreateServer(), TProofServ::Setup(), and TProofServ::TProofServ().

Int_t TProofServLogHandler::GetCmdRtn (  )  [static]

Definition at line 325 of file TProofServ.cxx.

References fgCmdRtn.

Referenced by TProofServ::HandleCache().

Bool_t TProofServLogHandler::IsValid (  )  [inline]

Definition at line 387 of file TProofServ.h.

References fFile, fSocket, kFALSE, and kTRUE.

Bool_t TProofServLogHandler::Notify (  )  [virtual]

Reimplemented from TFileHandler.

Bool_t TProofServLogHandler::ReadNotify (  )  [inline, virtual]

Reimplemented from TFileHandler.

Definition at line 390 of file TProofServ.h.

References Notify().

static void TProofServLogHandler::SetDefaultPrefix ( const char *  pfx  )  [static]

static Int_t TProofServLogHandler::GetCmdRtn (  )  [static]


Member Data Documentation

TSocket* TProofServLogHandler::fSocket [private]

Definition at line 374 of file TProofServ.h.

Referenced by IsValid(), Notify(), TProofServLogHandler(), and ~TProofServLogHandler().

FILE* TProofServLogHandler::fFile [private]

Definition at line 375 of file TProofServ.h.

Referenced by IsValid(), Notify(), TProofServLogHandler(), and ~TProofServLogHandler().

TString TProofServLogHandler::fPfx [private]

Definition at line 376 of file TProofServ.h.

Referenced by Notify().

TString TProofServLogHandler::fgPfx [static, private]

Definition at line 378 of file TProofServ.h.

Referenced by Notify(), and SetDefaultPrefix().

Int_t TProofServLogHandler::fgCmdRtn [static, private]

Definition at line 379 of file TProofServ.h.

Referenced by GetCmdRtn(), TProofServLogHandler(), and ~TProofServLogHandler().

TSocket* TProofServLogHandler::fSocket [private]

Definition at line 374 of file TProofServ.h.

FILE* TProofServLogHandler::fFile [private]

Definition at line 375 of file TProofServ.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:28 2011 for ROOT_528-00b_version by  doxygen 1.5.1