JINMEI Tatuya fc4e4e5c2c [master] define a wrapper object to pass to io_service::post explicitly. 12 years ago
..
doc f0f818b27b Addressed some review comments, including: 14 years ago
tests 953b4dcd1d [2871] IOService::post() 12 years ago
Makefile.am 9dc4993214 [2071] Add b10 prefix to libasiolink.la 12 years ago
README ae4e7f1013 [master] short message about why u no log in asiolink readme 14 years ago
asiolink.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
dummy_io_cb.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
interval_timer.cc 49ae23f163 [trac957] apply review comments 14 years ago
interval_timer.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
io_address.cc 8bc5490b0e [2396] Add methods to IOAddress: toBytes(), isV4() and isV6() 12 years ago
io_address.h 8bc5490b0e [2396] Add methods to IOAddress: toBytes(), isV4() and isV6() 12 years ago
io_asio_socket.h 6ae0d625f0 [master] many misspelling and typo fixes 12 years ago
io_endpoint.cc 3aa296cf17 [1539] supported operator<< for IOEndpoint for unified logging format. 13 years ago
io_endpoint.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
io_error.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
io_message.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
io_service.cc fc4e4e5c2c [master] define a wrapper object to pass to io_service::post explicitly. 12 years ago
io_service.h bf80743501 [2871] Fix copyright dates 12 years ago
io_socket.cc 8fc7cdd216 [trac751] Move dns related code to asiodns lib 14 years ago
io_socket.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
simple_callback.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
tcp_endpoint.h 72b8ac6172 [master] various more typo and misspelling fixes 12 years ago
tcp_socket.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago
udp_endpoint.h 72b8ac6172 [master] various more typo and misspelling fixes 12 years ago
udp_socket.h 059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool 12 years ago

README

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

- Simple interface

- Back-end flexibility: It would be easy to switch from using
ASIO to boost::asio, and even relatively straightforward 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 BIND 10 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 BIND 10 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.