$darkmode
#include <chrono>#include <memory>#include <string>#include <thread>#include <utility>#include <boost/asio.hpp>#include <cloe/core.hpp>#include <cloe/core/abort.hpp>#include <cloe/utility/tcp_transceiver_config.hpp>Go to the source code of this file.
Classes | |
| class | cloe::utility::TcpReadError |
| class | cloe::utility::TcpTransceiver |
| class | cloe::utility::TcpTransceiverFactory< T > |
Functions | |
| template<typename F > | |
| auto | cloe::utility::create_or_throw_with (const TcpTransceiverFullConfiguration &c) -> decltype(F{c}.create_or_throw(c.host, c.port)) |
| template<typename F > | |
| auto | cloe::utility::create_or_throw_with (const TcpTransceiverFullConfiguration &c, AbortFlag &sig) -> decltype(F{c}.create_or_throw(c.host, c.port, sig)) |
| template<typename F > | |
| auto | cloe::utility::create_or_null_with (const TcpTransceiverFullConfiguration &c) -> decltype(F{c}.create_or_null(c.host, c.port)) |
| auto cloe::utility::create_or_null_with | ( | const TcpTransceiverFullConfiguration & | c | ) | -> decltype(F{c}.create_or_null(c.host, c.port)) |
Return a new TcpTransceiver of the given type or returns nullptr.
This is a wrapper around creating a one-shot TcpTransceiverFactory.
| auto cloe::utility::create_or_throw_with | ( | const TcpTransceiverFullConfiguration & | c | ) | -> decltype(F{c}.create_or_throw(c.host, c.port)) |
Return a new TcpTransceiver of the given type or throws an exception.
This is a wrapper around creating a one-shot TcpTransceiverFactory.
| auto cloe::utility::create_or_throw_with | ( | const TcpTransceiverFullConfiguration & | c, |
| AbortFlag & | sig | ||
| ) | -> decltype(F{c}.create_or_throw(c.host, c.port, sig)) |
Return a new TcpTransceiver of the given type or throws an exception.
This is a wrapper around creating a one-shot TcpTransceiverFactory.