Monero
Loading...
Searching...
No Matches
abstract_tcp_server2.h File Reference

the connection templated-class for one peer connection More...

#include <string>
#include <vector>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include <atomic>
#include <cassert>
#include <map>
#include <memory>
#include <condition_variable>
#include <boost/asio.hpp>
#include <boost/asio/post.hpp>
#include <boost/asio/ssl.hpp>
#include <boost/asio/strand.hpp>
#include <boost/asio/steady_timer.hpp>
#include <boost/array.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/thread/thread.hpp>
#include <boost/optional.hpp>
#include "byte_slice.h"
#include "net_utils_base.h"
#include "syncobj.h"
#include "connection_basic.hpp"
#include "network_throttle-detail.hpp"
#include "abstract_tcp_server2.inl"
Include dependency graph for abstract_tcp_server2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epee::net_utils::i_connection_filter
struct  epee::net_utils::i_connection_limit
class  epee::net_utils::connection< t_protocol_handler >
 Represents a single connection from a client. More...
struct  epee::net_utils::connection< t_protocol_handler >::state_t
struct  epee::net_utils::connection< t_protocol_handler >::state_t::stat_t
struct  epee::net_utils::connection< t_protocol_handler >::state_t::data_t
struct  epee::net_utils::connection< t_protocol_handler >::state_t::ssl_t
struct  epee::net_utils::connection< t_protocol_handler >::state_t::socket_status_t
struct  epee::net_utils::connection< t_protocol_handler >::state_t::timer_status_t
struct  epee::net_utils::connection< t_protocol_handler >::state_t::timers_status_t
struct  epee::net_utils::connection< t_protocol_handler >::state_t::timers_status_t::throttle_t
struct  epee::net_utils::connection< t_protocol_handler >::state_t::protocol_t
struct  epee::net_utils::connection< t_protocol_handler >::timers_t
struct  epee::net_utils::connection< t_protocol_handler >::timers_t::throttle_t
struct  epee::net_utils::connection< t_protocol_handler >::shared_state
class  epee::net_utils::boosted_tcp_server< t_protocol_handler >
struct  epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext_base
struct  epee::net_utils::boosted_tcp_server< t_protocol_handler >::idle_callback_conext< t_handler >
struct  epee::net_utils::boosted_tcp_server< t_protocol_handler >::worker
 The io_context used to perform asynchronous operations. More...

Namespaces

namespace  epee
 TODO: (mj-xmr) This will be reduced in an another PR.
namespace  epee::net_utils

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "net"
#define ABSTRACT_SERVER_SEND_QUE_MAX_COUNT   1000
#define ABSTRACT_SERVER_SEND_QUE_MAX_BYTES_DEFAULT   100 * 1024 * 1024

Detailed Description

the connection templated-class for one peer connection

Author
from CrypoNote (see copyright below; Andrey N. Sabelnikov) @monero rfree

Macro Definition Documentation

◆ ABSTRACT_SERVER_SEND_QUE_MAX_BYTES_DEFAULT

#define ABSTRACT_SERVER_SEND_QUE_MAX_BYTES_DEFAULT   100 * 1024 * 1024

◆ ABSTRACT_SERVER_SEND_QUE_MAX_COUNT

#define ABSTRACT_SERVER_SEND_QUE_MAX_COUNT   1000

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "net"