Public Member Functions | |
void | onSystemSignal () |
Notifies there was system signal and it must be handled. | |
SystemSignalHandler (ClientList &clients, OutputSet &outputSet, ProtocolHandler &protocolHandler, ExecutorInterface &executorInterface) | |
The constructor. | |
virtual | ~SystemSignalHandler () |
The destructor. |
SystemSignalHandler::SystemSignalHandler | ( | ClientList & | clients, | |
OutputSet & | outputSet, | |||
ProtocolHandler & | protocolHandler, | |||
ExecutorInterface & | executorInterface | |||
) | [inline] |
[in] | The | reference to list of connected clients |
[in] | outputSet | The reference to used output set object |
[in] | protocolHandler | The reference to used protocol handler object |
[in] | executorInterface | The reference to executor interface object |
void SystemSignalHandler::onSystemSignal | ( | ) | [inline, virtual] |
This method is called by main loop class each time when pselect() system call is interrupted with EINTR exit code. It means the process have received system signal and it must be handled.
Implements AbstractSignalHandler.