Marcin Siodelski c7f86fdad0 [5317] Addressed review comments. 8 years ago
..
doc f0f818b27b Addressed some review comments, including: 14 years ago
tests ca4049e6cc [5317] TimerMgr's handlers are now ran in the main thread. 8 years ago
testutils e48d9399c2 [master] Merge branch 'trac5189' 8 years ago
Makefile.am c667872ea4 [5201] Library version bump 8 years ago
README 203667d650 [4009] Updated asiolibk README 9 years ago
asio_wrapper.h 9e3ca83d07 [v_1_2_0] copy right dates updated 8 years ago
asiolink.h 3d18318f68 [4236] Updated copyright dates in all files. 9 years ago
dummy_io_cb.h 3d18318f68 [4236] Updated copyright dates in all files. 9 years ago
interval_timer.cc ca4049e6cc [5317] TimerMgr's handlers are now ran in the main thread. 8 years ago
interval_timer.h 3d18318f68 [4236] Updated copyright dates in all files. 9 years ago
io_acceptor.h c7f86fdad0 [5317] Addressed review comments. 8 years ago
io_address.cc 8cce1aa713 [5009] Implemented get6(subnet_id, address) function for SQL backends. 8 years ago
io_address.h 9e3ca83d07 [v_1_2_0] copy right dates updated 8 years ago
io_asio_socket.h 9e3ca83d07 [v_1_2_0] copy right dates updated 8 years ago
io_endpoint.cc ac5d93b8f3 [4243] Disable optimization of boost:asio for gcc 5.2.0 through 5.3.0 9 years ago
io_endpoint.h 3d18318f68 [4236] Updated copyright dates in all files. 9 years ago
io_error.h 3d18318f68 [4236] Updated copyright dates in all files. 9 years ago
io_service.cc 060f324fad [5189] Eliminated race conditions and mem leaks in CA unit tests. 8 years ago
io_service.h 060f324fad [5189] Eliminated race conditions and mem leaks in CA unit tests. 8 years ago
io_socket.cc ac5d93b8f3 [4243] Disable optimization of boost:asio for gcc 5.2.0 through 5.3.0 9 years ago
io_socket.h 9232cee44a [5094] Improved and documented TCPAcceptor tests. 8 years ago
tcp_acceptor.h 0ea522a291 [5317] Cleanup new code added to facilitate unix domain sockets. 8 years ago
tcp_endpoint.h 3d18318f68 [4236] Updated copyright dates in all files. 9 years ago
tcp_socket.h 2835b3c54c [5099] Addressed review comments. 8 years ago
udp_endpoint.h 3d18318f68 [4236] Updated copyright dates in all files. 9 years ago
udp_socket.h 3d18318f68 [4236] Updated copyright dates in all files. 9 years ago
unix_domain_socket.cc 7f14fd190e [5317] DHCPv4 server is using ASIO based CommandMgr. 8 years ago
unix_domain_socket.h 7f14fd190e [5317] DHCPv4 server is using ASIO based CommandMgr. 8 years ago
unix_domain_socket_acceptor.h c7f86fdad0 [5317] Addressed review comments. 8 years ago
unix_domain_socket_endpoint.h c7f86fdad0 [5317] Addressed review comments. 8 years ago

README

The asiolink library is intended to provide an abstraction layer between
Kea modules and the socket I/O subsystem we are using (currently, the
headers-only version of ASIO included in Boost). This has several benefits,
including:

- Simple interface

- Back-end flexibility: It would be relatively easy to switch to any
other asynchronous I/O system.

- Cleaner compilation: The ASIO headers include code which can
generate warnings in some compilers due to unused parameters and
such. Including ASIO header files throughout the Kea tree would
require us to relax the strictness of our error checking. Including
them in only one place allows us to relax strictness here, while
leaving it in place elsewhere.

Some of the classes defined here--for example, IOSocket, IOEndpoint,
and IOAddress--are to be used by Kea modules as wrappers around
ASIO-specific classes.


Logging
-------

At this point, nothing is logged by this low-level library. We may
revisit that in the future, if we find suitable messages to log, but
right now there are also no loggers initialized or called.