|
libassa
3.5.1
|
A helper class of Fork. More...
#include <Fork.h>
Public Member Functions | |
| ChildStatusHandler () | |
| int | handle_signal (int signum_) |
| Signal handler callback. More... | |
| int | exit_status () const |
| bool | caught () const |
Public Member Functions inherited from ASSA::EventHandler | |
| EventHandler () | |
| Constructor. More... | |
| virtual | ~EventHandler () |
| Virtual destructor. More... | |
| virtual int | handle_read (int fd) |
| Read event callback. More... | |
| virtual int | handle_write (int fd) |
| Write handler callback. More... | |
| virtual int | handle_except (int fd) |
| Exception handler callback. More... | |
| virtual int | handle_timeout (TimerId tid) |
| Timeout handler callback. More... | |
| virtual int | handle_close (int fd) |
| EOF on peer socket handler callback. More... | |
| virtual void | resetState (void) |
| A hook for derived class to reset internal state as needed. More... | |
| void | set_id (const std::string &id_) |
| Set EventHandler ID. More... | |
| std::string | get_id () const |
| Retrieve EventHandler ID. More... | |
Private Attributes | |
| int | m_exit_status |
| bool | m_caught |
Additional Inherited Members | |
Protected Attributes inherited from ASSA::EventHandler | |
| std::string | m_id |
|
inline |
Definition at line 73 of file Fork.h.
References m_caught.
Referenced by ASSA::Fork::Fork().
|
inline |
Definition at line 69 of file Fork.h.
References m_exit_status.
Referenced by ASSA::Fork::get_exit_status().
|
virtual |
Signal handler callback.
Reimplemented from ASSA::EventHandler.
Definition at line 135 of file Fork.cpp.
References DL, ASSA::FORK, m_caught, m_exit_status, and trace_with_mask.
|
private |
Definition at line 77 of file Fork.h.
Referenced by caught(), and handle_signal().
|
private |
Definition at line 76 of file Fork.h.
Referenced by exit_status(), and handle_signal().
1.8.8