Kea 2.7.5
|
Implementation class of IOSignalSet. More...
Public Member Functions | |
IOSignalSetImpl (const IOServicePtr &io_service, IOSignalHandler handler) | |
Constructor. | |
~IOSignalSetImpl () | |
Destructor. | |
void | add (int signum) |
Add a signal to the ASIO signal set. | |
void | cancel () |
Cancel the remaining installed signal handler callbacks. | |
void | install () |
Install the callback on the IO service queue. | |
void | remove (int signum) |
Remove a signal from the ASIO signal set. | |
Implementation class of IOSignalSet.
Definition at line 23 of file io_service_signal.cc.
isc::asiolink::IOSignalSetImpl::IOSignalSetImpl | ( | const IOServicePtr & | io_service, |
IOSignalHandler | handler ) |
Constructor.
io_service | the process IO service. |
handler | the signal handler. |
Definition at line 68 of file io_service_signal.cc.
isc::asiolink::IOSignalSetImpl::~IOSignalSetImpl | ( | ) |
Destructor.
Definition at line 75 of file io_service_signal.cc.
void isc::asiolink::IOSignalSetImpl::add | ( | int | signum | ) |
Add a signal to the ASIO signal set.
signum | the signal number. |
Definition at line 106 of file io_service_signal.cc.
References isc_throw, and isc::Exception::what().
void isc::asiolink::IOSignalSetImpl::cancel | ( | ) |
Cancel the remaining installed signal handler callbacks.
Definition at line 80 of file io_service_signal.cc.
void isc::asiolink::IOSignalSetImpl::install | ( | ) |
Install the callback on the IO service queue.
Definition at line 99 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 116 of file io_service_signal.cc.
References isc_throw, and isc::Exception::what().