Kea  1.9.9-git
isc::asiolink::IOSignalSetImpl Class Reference

Implementation class of IOSignalSet. More...

+ Inheritance diagram for isc::asiolink::IOSignalSetImpl:

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...
 

Detailed Description

Implementation class of IOSignalSet.

Definition at line 23 of file io_service_signal.cc.

Constructor & Destructor Documentation

isc::asiolink::IOSignalSetImpl::IOSignalSetImpl ( IOServicePtr  io_service,
IOSignalHandler  handler 
)

Constructor.

Parameters
io_servicethe process IO service.
handlerthe signal handler.

Definition at line 62 of file io_service_signal.cc.

isc::asiolink::IOSignalSetImpl::~IOSignalSetImpl ( )
default

Destructor.

Member Function Documentation

void isc::asiolink::IOSignalSetImpl::add ( int  signum)

Add a signal to the ASIO signal set.

Parameters
signumthe signal number.

Definition at line 88 of file io_service_signal.cc.

References isc_throw, and isc::Exception::what().

+ Here is the call graph for this function:

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.

Parameters
signumthe signal number.

Definition at line 98 of file io_service_signal.cc.

References isc_throw, and isc::Exception::what().

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: