Kea
1.9.9-git
|
Implementation class of IOSignalSet. More...
Public Member Functions | |
IOSignalSetImpl (IOServicePtr io_service, IOSignalHandler handler) | |
Constructor. More... | |
~IOSignalSetImpl ()=default | |
Destructor. More... | |
void | add (int signum) |
Add a signal to the ASIO signal set. More... | |
void | install () |
Install the callback on the IO service queue. More... | |
void | remove (int signum) |
Remove a signal from the ASIO signal set. More... | |
Implementation class of IOSignalSet.
Definition at line 23 of file io_service_signal.cc.
isc::asiolink::IOSignalSetImpl::IOSignalSetImpl | ( | IOServicePtr | io_service, |
IOSignalHandler | handler | ||
) |
Constructor.
io_service | the process IO service. |
handler | the signal handler. |
Definition at line 62 of file io_service_signal.cc.
|
default |
Destructor.
void isc::asiolink::IOSignalSetImpl::add | ( | int | signum | ) |
Add a signal to the ASIO signal set.
signum | the signal number. |
Definition at line 88 of file io_service_signal.cc.
References isc_throw, and isc::Exception::what().
void isc::asiolink::IOSignalSetImpl::install | ( | ) |
Install the callback on the IO service queue.
Definition at line 82 of file io_service_signal.cc.
void isc::asiolink::IOSignalSetImpl::remove | ( | int | signum | ) |
Remove a signal from the ASIO signal set.
signum | the signal number. |
Definition at line 98 of file io_service_signal.cc.
References isc_throw, and isc::Exception::what().