#include "wesnothd_connection.hpp"
#include "gettext.hpp"
#include "gui/dialogs/loading_screen.hpp"
#include "log.hpp"
#include "preferences/general.hpp"
#include "serialization/parser.hpp"
#include "tls_root_store.hpp"
#include <boost/asio/connect.hpp>
#include <boost/asio/read.hpp>
#include <boost/asio/write.hpp>
#include <cstdint>
#include <deque>
#include <functional>
Go to the source code of this file.
Macros | |
#define | BOOST_ASIO_NO_DEPRECATED |
#define | DBG_NW LOG_STREAM(debug, log_network) |
#define | LOG_NW LOG_STREAM(info, log_network) |
#define | WRN_NW LOG_STREAM(warn, log_network) |
#define | ERR_NW LOG_STREAM(err, log_network) |
#define | MPTEST_LOG ((void)0) |
Functions | |
template<typename Verifier > | |
auto | verbose_verify (Verifier &&verifier) |
Variables | |
static lg::log_domain | log_network ("network") |
#define BOOST_ASIO_NO_DEPRECATED |
Definition at line 16 of file wesnothd_connection.cpp.
#define DBG_NW LOG_STREAM(debug, log_network) |
Definition at line 36 of file wesnothd_connection.cpp.
Referenced by wesnothd_connection::handle_read(), wesnothd_connection::handle_write(), wesnothd_connection::handshake(), wesnothd_connection::send_data(), verbose_verify(), and wesnothd_connection::wesnothd_connection().
#define ERR_NW LOG_STREAM(err, log_network) |
Definition at line 39 of file wesnothd_connection.cpp.
Referenced by wesnothd_connection::handle_connect().
#define LOG_NW LOG_STREAM(info, log_network) |
Definition at line 37 of file wesnothd_connection.cpp.
Referenced by wesnothd_connection::handle_connect(), wesnothd_connection::handle_handshake(), wesnothd_connection::handle_read(), wesnothd_connection::handle_resolve(), wesnothd_connection::handle_write(), wesnothd_connection::is_read_complete(), wesnothd_connection::is_write_complete(), wesnothd_connection::wait_for_handshake(), and wesnothd_connection::wesnothd_connection().
#define MPTEST_LOG ((void)0) |
Definition at line 56 of file wesnothd_connection.cpp.
Referenced by wesnothd_connection::cancel(), wesnothd_connection::handle_connect(), wesnothd_connection::handle_handshake(), wesnothd_connection::handle_read(), wesnothd_connection::handle_resolve(), wesnothd_connection::handle_write(), wesnothd_connection::handshake(), wesnothd_connection::is_read_complete(), wesnothd_connection::is_write_complete(), wesnothd_connection::receive_data(), wesnothd_connection::recv(), wesnothd_connection::send(), wesnothd_connection::send_data(), wesnothd_connection::stop(), wesnothd_connection::wait_for_handshake(), wesnothd_connection::wesnothd_connection(), and wesnothd_connection::~wesnothd_connection().
#define WRN_NW LOG_STREAM(warn, log_network) |
Definition at line 38 of file wesnothd_connection.cpp.
Referenced by wesnothd_connection::cancel(), and wesnothd_connection::wait_for_handshake().
auto verbose_verify | ( | Verifier && | verifier | ) |
Definition at line 185 of file wesnothd_connection.cpp.
References DBG_NW.
Referenced by wesnothd_connection::handle_handshake().
|
static |