#include <TGo4SocketSignalHandler.h>
Public Member Functions | |
TGo4SocketSignalHandler (Int_t signum, Bool_t enabled=kTRUE) | |
virtual | ~TGo4SocketSignalHandler () |
Static Public Member Functions | |
static void | SetSigWINCH (Bool_t enabled=kTRUE) |
static bool | IsLastSignalWINCH () |
static void | DisableSigPipe () |
static void | SetSignalAction (Int_t signum, Bool_t enabled=kTRUE) |
static void | Handle (int) |
static Int_t | GetLastSignal () |
static void | SetLastSignal (Int_t v=0) |
Private Member Functions | |
TGo4SocketSignalHandler () | |
Static Private Attributes | |
static Int_t | fgiLastSignal = 0 |
Definition at line 19 of file TGo4SocketSignalHandler.h.
TGo4SocketSignalHandler::TGo4SocketSignalHandler | ( | Int_t | signum, | |
Bool_t | enabled = kTRUE | |||
) |
Definition at line 19 of file TGo4SocketSignalHandler.cxx.
References SetSignalAction().
TGo4SocketSignalHandler::~TGo4SocketSignalHandler | ( | ) | [virtual] |
Definition at line 24 of file TGo4SocketSignalHandler.cxx.
TGo4SocketSignalHandler::TGo4SocketSignalHandler | ( | ) | [private] |
void TGo4SocketSignalHandler::DisableSigPipe | ( | ) | [static] |
Definition at line 71 of file TGo4SocketSignalHandler.cxx.
Referenced by TGo4Socket::TGo4Socket().
Int_t TGo4SocketSignalHandler::GetLastSignal | ( | ) | [static] |
Definition at line 104 of file TGo4SocketSignalHandler.cxx.
References fgiLastSignal.
Referenced by IsLastSignalWINCH().
void TGo4SocketSignalHandler::Handle | ( | int | signum | ) | [static] |
Definition at line 29 of file TGo4SocketSignalHandler.cxx.
References fgiLastSignal, and SetSignalAction().
bool TGo4SocketSignalHandler::IsLastSignalWINCH | ( | ) | [static] |
Definition at line 76 of file TGo4SocketSignalHandler.cxx.
References GetLastSignal().
Referenced by TGo4ObjClient::ReceiveBuffer(), TGo4StatusRunnable::Run(), TGo4DataRunnable::Run(), and TGo4CommandRunnable::Run().
void TGo4SocketSignalHandler::SetLastSignal | ( | Int_t | v = 0 |
) | [static] |
Definition at line 109 of file TGo4SocketSignalHandler.cxx.
References fgiLastSignal.
Referenced by TGo4ObjClient::ReceiveBuffer(), TGo4StatusRunnable::Run(), TGo4DataRunnable::Run(), and TGo4CommandRunnable::Run().
void TGo4SocketSignalHandler::SetSignalAction | ( | Int_t | signum, | |
Bool_t | enabled = kTRUE | |||
) | [static] |
Definition at line 54 of file TGo4SocketSignalHandler.cxx.
Referenced by Handle(), SetSigWINCH(), and TGo4SocketSignalHandler().
void TGo4SocketSignalHandler::SetSigWINCH | ( | Bool_t | enabled = kTRUE |
) | [static] |
Definition at line 49 of file TGo4SocketSignalHandler.cxx.
References SetSignalAction().
Referenced by TGo4Socket::TGo4Socket().
Int_t TGo4SocketSignalHandler::fgiLastSignal = 0 [static, private] |
Definition at line 43 of file TGo4SocketSignalHandler.h.
Referenced by GetLastSignal(), Handle(), and SetLastSignal().