#include <TProofServLite.h>
Inheritance diagram for TProofServLite:
Public Member Functions | |
TProofServLite (Int_t *argc, char **argv, FILE *flog=0) | |
virtual | ~TProofServLite () |
Int_t | CreateServer () |
void | HandleFork (TMessage *mess) |
void | HandleSigPipe () |
void | HandleTermination () |
void | Terminate (Int_t status) |
TProofServLite (Int_t *argc, char **argv, FILE *flog=0) | |
virtual | ~TProofServLite () |
Int_t | CreateServer () |
void | HandleFork (TMessage *mess) |
void | HandleSigPipe () |
void | HandleTermination () |
void | Terminate (Int_t status) |
Private Member Functions | |
Int_t | Setup () |
Int_t | SetupOnFork (const char *ord) |
Int_t | Setup () |
Int_t | SetupOnFork (const char *ord) |
Private Attributes | |
TProofServLiteInterruptHandler * | fInterruptHandler |
TString | fSockPath |
Bool_t | fTerminated |
TProofServLiteInterruptHandler * | fInterruptHandler |
Definition at line 32 of file TProofServLite.h.
TProofServLite::TProofServLite | ( | Int_t * | argc, | |
char ** | argv, | |||
FILE * | flog = 0 | |||
) |
Definition at line 177 of file TProofServLite.cxx.
References fInterruptHandler, fTerminated, and kFALSE.
TProofServLite::~TProofServLite | ( | ) | [virtual] |
TProofServLite::TProofServLite | ( | Int_t * | argc, | |
char ** | argv, | |||
FILE * | flog = 0 | |||
) |
virtual TProofServLite::~TProofServLite | ( | ) | [virtual] |
Int_t TProofServLite::Setup | ( | ) | [private, virtual] |
Reimplemented from TProofServ.
Definition at line 323 of file TProofServLite.cxx.
References TSystem::AddSignalHandler(), TString::Data(), TObject::Error(), TSystem::ExpandPathName(), TProofServ::fOrdinal, TString::Form(), TString::Format(), TProofServ::fProtocol, TProofServ::fSessionDir, TProofServ::fSessionTag, TProofServ::fSocket, TProofServ::fTopSessionTag, UserGroup_t::fUser, TProofServ::fUser, TProofServ::fWorkDir, gEnv, TSystem::Getenv(), TSystem::GetPid(), TSystem::GetUserInfo(), TEnv::GetValue(), gProofDebugLevel, gSystem, TSystem::HostName(), TObject::Info(), TProofServ::IsMaster(), kKeepAlive, kNPOS, kPROOF_SESSIONTAG, kPROOF_WorkDir, m, TSocket::Send(), TSocket::SetOption(), TProofServ::SetupCommon(), snprintf, str, TSystem::Symlink(), and workdir.
Referenced by CreateServer(), and SetupOnFork().
Int_t TProofServLite::SetupOnFork | ( | const char * | ord | ) | [private] |
Definition at line 492 of file TProofServLite.cxx.
References TSystem::AddFileHandler(), TSystem::AddSignalHandler(), TString::Contains(), TString::Data(), TSystem::DirName(), TObject::Error(), fclose(), TProofServ::fConfDir, fInterruptHandler, FileStat_t::fIsLink, TProofServ::fLogFile, TProofServ::fLogFileDes, TProofServ::FlushLogFile(), TProofServ::fMasterServ, TProofServ::fOrdinal, TString::Form(), TString::Format(), TSystem::FreeDirectory(), TProofServ::fService, TProofServ::fSessionDir, TProofServ::fSessionTag, TProofServ::fSocket, fSockPath, gEnv, TSocket::GetDescriptor(), TSystem::GetDirEntry(), TSystem::Getenv(), TSystem::GetPathInfo(), TSystem::GetPid(), TEnv::GetValue(), gInterpreter, gProofDebugLevel, gProofServDebug, gSystem, TSystem::HostName(), TString::Index(), TObject::Info(), TString::Insert(), int, TSocket::IsValid(), kNPOS, kTRUE, TString::Length(), TSystem::OpenDirectory(), PDB, TApplication::ProcessLine(), TProofServ::RedirectOutput(), TString::Remove(), TString::ReplaceAll(), TSocket::Send(), TProofServ::SendLogFile(), TSystem::Setenv(), Setup(), TSystem::Symlink(), Terminate(), and TSystem::Unlink().
Referenced by HandleFork().
Int_t TProofServLite::CreateServer | ( | ) | [virtual] |
Reimplemented from TProofServ.
Definition at line 187 of file TProofServLite.cxx.
References TSystem::AddFileHandler(), TSystem::AddSignalHandler(), TString::Data(), TObject::Error(), TProofServ::fConfDir, fInterruptHandler, TProofServ::fLogFile, TProofServ::fLogFileDes, TProofServ::FlushLogFile(), TProofServ::fMasterServ, TProofServ::fOrdinal, TString::Format(), TProofServ::fService, TProofServ::fSocket, fSockPath, gEnv, TSocket::GetDescriptor(), TROOT::GetMacroPath(), TEnv::GetValue(), gInterpreter, gProofDebugLevel, gProofServDebug, gSystem, TObject::Info(), TString::Insert(), TSocket::IsValid(), kReadPermission, kTRUE, TString::Length(), TApplication::NoLogOpt(), TApplication::ProcessFile(), TApplication::ProcessLine(), TProofServ::RedirectOutput(), TSocket::Send(), TProofServ::SendLogFile(), Setup(), Terminate(), and TSystem::Which().
void TProofServLite::HandleFork | ( | TMessage * | mess | ) | [virtual] |
Reimplemented from TProofServ.
Definition at line 454 of file TProofServLite.cxx.
References TObject::Error(), TProofServ::Fork(), TObject::Info(), PDB, and SetupOnFork().
void TProofServLite::HandleSigPipe | ( | ) | [virtual] |
Reimplemented from TProofServ.
Definition at line 307 of file TProofServLite.cxx.
References Terminate().
Referenced by TProofServLiteSigPipeHandler::Notify().
void TProofServLite::HandleTermination | ( | ) | [virtual] |
Reimplemented from TProofServ.
Definition at line 315 of file TProofServLite.cxx.
References Terminate().
Referenced by TProofServLiteSegViolationHandler::Notify(), and TProofServLiteTerminationHandler::Notify().
void TProofServLite::Terminate | ( | Int_t | status | ) | [virtual] |
Reimplemented from TProofServ.
Definition at line 416 of file TProofServLite.cxx.
References TSystem::AccessPathName(), TSystem::ChangeDirectory(), TString::Data(), TSystem::Exec(), TSystem::ExitLoop(), TProofServ::fDataDir, fInterruptHandler, TString::Format(), TProofServ::fSessionDir, fTerminated, gSystem, TObject::Info(), TString::IsNull(), kRM, kTRUE, kWritePermission, TSystem::MakeDirectory(), Printf(), TSystem::RemoveSignalHandler(), and TProofServ::UnlinkDataDir().
Referenced by CreateServer(), HandleSigPipe(), HandleTermination(), and SetupOnFork().
Int_t TProofServLite::Setup | ( | ) | [private, virtual] |
Reimplemented from TProofServ.
Int_t TProofServLite::SetupOnFork | ( | const char * | ord | ) | [private] |
Int_t TProofServLite::CreateServer | ( | ) | [virtual] |
Reimplemented from TProofServ.
void TProofServLite::HandleFork | ( | TMessage * | mess | ) | [virtual] |
Reimplemented from TProofServ.
void TProofServLite::HandleSigPipe | ( | ) | [virtual] |
Reimplemented from TProofServ.
void TProofServLite::HandleTermination | ( | ) | [virtual] |
Reimplemented from TProofServ.
void TProofServLite::Terminate | ( | Int_t | status | ) | [virtual] |
Reimplemented from TProofServ.
Definition at line 35 of file TProofServLite.h.
Referenced by CreateServer(), SetupOnFork(), Terminate(), and TProofServLite().
TString TProofServLite::fSockPath [private] |
Bool_t TProofServLite::fTerminated [private] |
Definition at line 35 of file TProofServLite.h.