|
Electroneum
|
#include <winsock2.h>#include <rpc.h>#include <string>#include <map>#include <boost/shared_ptr.hpp>#include "misc_log_ex.h"#include "syncobj.h"#include "profile_tools.h"#include "net_utils_base.h"#include "pragma_comp_defs.h"#include "abstract_tcp_server_cp.inl"

Go to the source code of this file.
Classes | |
| class | epee::net_utils::cp_server_impl< TProtocol > |
Namespaces | |
| epee | |
| epee::net_utils | |
Macros | |
| #define | ENABLE_PROFILING |
| #define | ELECTRONEUM_DEFAULT_LOG_CATEGORY "net" |
| #define | LEVIN_DEFAULT_DATA_BUFF_SIZE 2000 |
Typedefs | |
| typedef std::map< SOCKET, boost::shared_ptr< connection< TProtocol > > > | epee::net_utils::connections_container |
Functions | |
| connection (typename TProtocol::config_type &ref_config) | |
| connection< TProtocol > & | operator= (const connection< TProtocol > &obj) |
| bool | init_buffers () |
| bool | query_shutdown () |
| ~connection () | |
| virtual bool | handle_send (const void *ptr, size_t cb) |
| else | if (0==res) |
| PRAGMA_WARNING_POP bool | epee::net_utils::worker_thread_member () |
| bool | epee::net_utils::add_new_connection (SOCKET new_sock, long ip_from, int port_from) |
| bool | epee::net_utils::shutdown_connection (connection< TProtocol > *pconn) |
Variables | |
| return | true |
| SOCKET | epee::net_utils::m_listen_socket |
| HANDLE | epee::net_utils::m_completion_port |
| connections_container | epee::net_utils::m_connections |
| critical_section | epee::net_utils::m_connections_lock |
| int | epee::net_utils::m_port |
| volatile LONG | epee::net_utils::m_stop |
| bool | epee::net_utils::m_initialized |
| volatile LONG | epee::net_utils::m_worker_thread_counter |
| TProtocol::config_type | epee::net_utils::m_config |
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "net" |
Definition at line 46 of file abstract_tcp_server_cp.h.
| #define ENABLE_PROFILING |
Definition at line 40 of file abstract_tcp_server_cp.h.
| #define LEVIN_DEFAULT_DATA_BUFF_SIZE 2000 |
Definition at line 48 of file abstract_tcp_server_cp.h.
| resize_send_buff::connection | ( | typename TProtocol::config_type & | ref_config | ) |
|
virtual |
Definition at line 135 of file abstract_tcp_server_cp.h.
| else resize_send_buff::if | ( | 0 | = = res | ) |
Definition at line 166 of file abstract_tcp_server_cp.h.

| bool resize_send_buff::init_buffers | ( | ) |
Definition at line 102 of file abstract_tcp_server_cp.h.
| connection<TProtocol>& resize_send_buff::operator= | ( | const connection< TProtocol > & | obj | ) |
| bool resize_send_buff::query_shutdown | ( | ) |
Definition at line 111 of file abstract_tcp_server_cp.h.
| resize_send_buff::~connection | ( | ) |
Definition at line 127 of file abstract_tcp_server_cp.h.
| return true |
Definition at line 181 of file abstract_tcp_server_cp.h.