|
libassa
3.5.1
|
CFUNC_Handler class. More...
#include <SigHandlersList.h>
Public Member Functions | |
| CFUNC_Handler (C_SIG_HANDLER csigh_) | |
| int | handle_signal (int signum_) |
| Signal handler callback. | |
| C_SIG_HANDLER | handler () |
Public Member Functions inherited from ASSA::EventHandler | |
| EventHandler () | |
| Constructor. | |
| virtual | ~EventHandler () |
| Virtual destructor. | |
| virtual int | handle_read (int fd) |
| Read event callback. | |
| virtual int | handle_write (int fd) |
| Write handler callback. | |
| virtual int | handle_except (int fd) |
| Exception handler callback. | |
| virtual int | handle_timeout (TimerId tid) |
| Timeout handler callback. | |
| virtual int | handle_close (int fd) |
| EOF on peer socket handler callback. | |
| virtual void | resetState (void) |
| A hook for derived class to reset internal state as needed. | |
| void | set_id (const std::string &id_) |
| Set EventHandler ID. | |
| std::string | get_id () const |
| Retrieve EventHandler ID. | |
Private Attributes | |
| C_SIG_HANDLER | m_c_sig_hand |
Additional Inherited Members | |
Protected Attributes inherited from ASSA::EventHandler | |
| std::string | m_id |
CFUNC_Handler class.
CFUNC_Handler is a wrapper around C signal handler function. It wraps C signal handler function into EventHandler interface.
Definition at line 44 of file SigHandlersList.h.
|
inline |
Definition at line 371 of file SigHandlersList.h.
References ASSA::SIGHAND, and trace_with_mask.
|
inlinevirtual |
Signal handler callback.
Reimplemented from ASSA::EventHandler.
Definition at line 379 of file SigHandlersList.h.
References m_c_sig_hand, ASSA::SIGHAND, and trace_with_mask.
|
inline |
Definition at line 50 of file SigHandlersList.h.
References m_c_sig_hand.
Referenced by ASSA::SigHandlers::remove().
|
private |
Definition at line 53 of file SigHandlersList.h.
Referenced by handle_signal(), and handler().
1.8.1.1