#include <TApplicationServer.h>
Inheritance diagram for TASLogHandler:
Public Types | |
enum | EStatusBits |
enum | EStatusBits |
Public Member Functions | |
TASLogHandler (const char *cmd, TSocket *s, const char *pfx="") | |
TASLogHandler (FILE *f, TSocket *s, const char *pfx="") | |
virtual | ~TASLogHandler () |
Bool_t | IsValid () |
Bool_t | Notify () |
Bool_t | ReadNotify () |
TASLogHandler (const char *cmd, TSocket *s, const char *pfx="") | |
TASLogHandler (FILE *f, TSocket *s, const char *pfx="") | |
virtual | ~TASLogHandler () |
Bool_t | IsValid () |
Bool_t | Notify () |
Bool_t | ReadNotify () |
Static Public Member Functions | |
static void | SetDefaultPrefix (const char *pfx) |
static void | SetDefaultPrefix (const char *pfx) |
Private Attributes | |
TSocket * | fSocket |
FILE * | fFile |
TString | fPfx |
TSocket * | fSocket |
FILE * | fFile |
Static Private Attributes | |
static TString | fgPfx |
Definition at line 109 of file TApplicationServer.h.
TASLogHandler::TASLogHandler | ( | const char * | cmd, | |
TSocket * | s, | |||
const char * | pfx = "" | |||
) |
Definition at line 132 of file TApplicationServer.cxx.
References TObject::Error(), fFile, fSocket, gSystem, kFileIsPipe, Notify(), TSystem::OpenPipe(), TObject::ResetBit(), s, TObject::SetBit(), and TFileHandler::SetFd().
TASLogHandler::TASLogHandler | ( | FILE * | f, | |
TSocket * | s, | |||
const char * | pfx = "" | |||
) |
Definition at line 157 of file TApplicationServer.cxx.
References TObject::Error(), fFile, kFileIsPipe, Notify(), TObject::ResetBit(), s, and TFileHandler::SetFd().
TASLogHandler::~TASLogHandler | ( | ) | [virtual] |
Definition at line 174 of file TApplicationServer.cxx.
References TSystem::ClosePipe(), fFile, fSocket, gSystem, kFileIsPipe, TObject::ResetBit(), and TObject::TestBit().
TASLogHandler::TASLogHandler | ( | const char * | cmd, | |
TSocket * | s, | |||
const char * | pfx = "" | |||
) |
TASLogHandler::TASLogHandler | ( | FILE * | f, | |
TSocket * | s, | |||
const char * | pfx = "" | |||
) |
virtual TASLogHandler::~TASLogHandler | ( | ) | [virtual] |
Bool_t TASLogHandler::IsValid | ( | ) | [inline] |
Definition at line 122 of file TApplicationServer.h.
References fFile, fSocket, kFALSE, and kTRUE.
Referenced by Notify(), TASLogHandlerGuard::TASLogHandlerGuard(), and TASLogHandlerGuard::~TASLogHandlerGuard().
Bool_t TASLogHandler::Notify | ( | ) | [virtual] |
Reimplemented from TFileHandler.
Definition at line 185 of file TApplicationServer.cxx.
References TString::Data(), fFile, fgPfx, Form(), fPfx, fSocket, IsValid(), kMESS_ANY, kRRT_Message, kTRUE, TString::Length(), line, m, and TSocket::Send().
Referenced by ReadNotify(), and TASLogHandler().
Bool_t TASLogHandler::ReadNotify | ( | ) | [inline, virtual] |
Reimplemented from TFileHandler.
Definition at line 125 of file TApplicationServer.h.
References Notify().
void TASLogHandler::SetDefaultPrefix | ( | const char * | pfx | ) | [static] |
Bool_t TASLogHandler::IsValid | ( | ) | [inline] |
Bool_t TASLogHandler::Notify | ( | ) | [virtual] |
Reimplemented from TFileHandler.
Bool_t TASLogHandler::ReadNotify | ( | ) | [inline, virtual] |
Reimplemented from TFileHandler.
Definition at line 125 of file TApplicationServer.h.
References Notify().
static void TASLogHandler::SetDefaultPrefix | ( | const char * | pfx | ) | [static] |
TSocket* TASLogHandler::fSocket [private] |
Definition at line 111 of file TApplicationServer.h.
Referenced by IsValid(), Notify(), TASLogHandler(), and ~TASLogHandler().
FILE* TASLogHandler::fFile [private] |
Definition at line 112 of file TApplicationServer.h.
Referenced by IsValid(), Notify(), TASLogHandler(), and ~TASLogHandler().
TString TASLogHandler::fPfx [private] |
TString TASLogHandler::fgPfx [static, private] |
Definition at line 115 of file TApplicationServer.h.
Referenced by Notify(), and SetDefaultPrefix().
TSocket* TASLogHandler::fSocket [private] |
Definition at line 111 of file TApplicationServer.h.
FILE* TASLogHandler::fFile [private] |
Definition at line 112 of file TApplicationServer.h.