#include <TProofServ.h>
Inheritance diagram for TProofServLogHandler:
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 | |
TSocket * | fSocket |
FILE * | fFile |
TString | fPfx |
TSocket * | fSocket |
FILE * | fFile |
Static Private Attributes | |
static TString | fgPfx |
static Int_t | fgCmdRtn |
Definition at line 372 of file TProofServ.h.
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] |
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] |
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] |
Bool_t TProofServLogHandler::Notify | ( | ) | [virtual] |
Reimplemented from TFileHandler.
Bool_t TProofServLogHandler::ReadNotify | ( | ) | [inline, virtual] |
static void TProofServLogHandler::SetDefaultPrefix | ( | const char * | pfx | ) | [static] |
static Int_t TProofServLogHandler::GetCmdRtn | ( | ) | [static] |
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] |
TString TProofServLogHandler::fgPfx [static, private] |
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.