Mercurial > irccd
view .hgtags @ 670:95ac3ace1610
Common: introduce new io code
To avoid code duplication in accept, connect, reading and writing we add a new
set of classes in `io` namespaces located in the following files:
- stream.hpp, acceptor.hpp, connector.hpp
These classes consist of pure abstract interfaces for I/O. Then we reimplement
them in the following files:
- socket_stream.hpp, socket_acceptor.hpp, socket_connector.hpp,
- tls_stream.hpp, tls_acceptor.hpp, tls_conncetor.hpp (for SSL).
This allows future independant connections such as DBus, fifo or any other fancy
optional stuff.
We also no longer need large class hierarchy such as `connection` for irccdctl
controller or transport_server, transport_client classes.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 10 Apr 2018 21:20:30 +0200 |
parents | d5bfaf362ded |
children | fb0adda67228 |
line wrap: on
line source
92b0be5ce4b0cc77254585563069719e01c575d5 2.0.0 02bb385da6e342bbfe232b10ab6d63c1d8c47ca7 2.0.1 de1c1e4a5dbb3f9d03a6833333f03f595f79e33d 2.0.2 d37069bcbbab340c122a4f6fbb028c02996cc143 2.0.3 a8b0353ac831ef6cb9be9f92a634252a680169b0 2.1.0 4022c5fa8b7c62b461380bc9a6cb150fe6a53186 2.1.1 315460895f853f525f2a5427109a6a05436429d7 2.1.2 c3f46ad1ece6c9eccfe42f0f683f01aa3a29da9f 2.1.3 76aaaf7cd5a3410c97c644d3aa90bd2372c56aa4 2.2.0