Francis Dupont 96294e8cf5 [master] Finished merge of trac4009 (use Boost Asio vs. ext/asio) 9 years ago
..
doc f0f818b27b Addressed some review comments, including: 14 years ago
tests 96294e8cf5 [master] Finished merge of trac4009 (use Boost Asio vs. ext/asio) 9 years ago
Makefile.am 8175031f4b [4009] Fixed the libboost_system dependency for Boost < 1.56 9 years ago
README 203667d650 [4009] Updated asiolibk README 9 years ago
asiolink.h 46e788c105 [4009] Updated asiolink.h 9 years ago
dummy_io_cb.h 64ef2a77fa [4009] Fixed asiolink 9 years ago
interval_timer.cc 68e83d82ca [4009] error_ and system_code in system (vs asio) namespace 9 years ago
interval_timer.h 68e83d82ca [4009] error_ and system_code in system (vs asio) namespace 9 years ago
io_address.cc 68e83d82ca [4009] error_ and system_code in system (vs asio) namespace 9 years ago
io_address.h b494fd351e [4009] Added boost to asio (tentative) 9 years ago
io_asio_socket.h 4410b04b5e [3484] Fixed quite a few doxygen warnings. 10 years ago
io_endpoint.cc b494fd351e [4009] Added boost to asio (tentative) 9 years ago
io_endpoint.h 7ebd4f56e1 [3417] "bind 10" => Kea converted in many .cc/.h files 11 years ago
io_error.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
io_service.cc b494fd351e [4009] Added boost to asio (tentative) 9 years ago
io_service.h 64ef2a77fa [4009] Fixed asiolink 9 years ago
io_socket.cc b494fd351e [4009] Added boost to asio (tentative) 9 years ago
io_socket.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
tcp_endpoint.h 5526c8641e [4009] ASIO_HPP -> BOOST_ASIO_HPP 9 years ago
tcp_socket.h 5526c8641e [4009] ASIO_HPP -> BOOST_ASIO_HPP 9 years ago
udp_endpoint.h 5526c8641e [4009] ASIO_HPP -> BOOST_ASIO_HPP 9 years ago
udp_socket.h 5526c8641e [4009] ASIO_HPP -> BOOST_ASIO_HPP 9 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.