libassa
3.5.1
|
Class SIGPOLLHandler handles SIGPOLL signal. More...
#include <Handlers.h>
Public Member Functions | |
SIGPOLLHandler () | |
Constructor. More... | |
int | handle_signal (int signum_) |
Catch and absorb SIGPOLL signal. More... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
std::string | m_id |
Class SIGPOLLHandler handles SIGPOLL signal.
SIGPOLLHandler Implementations of dummy handler to swallow SIGPOLL caused sometimes by select(3) being called on false socket file descriptor.
NOTE: FreeBSD uses SIGIO instead.
Definition at line 261 of file Handlers.h.
|
inline |
Constructor.
Definition at line 266 of file Handlers.h.
References ASSA::SIGHAND, and trace_with_mask.
|
inlinevirtual |
Catch and absorb SIGPOLL signal.
Reimplemented from ASSA::EventHandler.
Definition at line 271 of file Handlers.h.
References ASSAIOSIG, ASSA::SIGHAND, and trace_with_mask.