Electroneum
net_load_tests Namespace Reference

Classes

struct  CMD_CLOSE_ALL_CONNECTIONS
 
struct  CMD_DATA_REQUEST
 
struct  CMD_GET_STATISTICS
 
struct  CMD_RESET_STATISTICS
 
struct  CMD_SEND_DATA_REQUESTS
 
struct  CMD_SHUTDOWN
 
struct  CMD_START_OPEN_CLOSE_TEST
 
class  open_close_test_helper
 
struct  test_connection_context
 
struct  test_levin_commands_handler
 

Typedefs

typedef epee::levin::async_protocol_handler< test_connection_contexttest_levin_protocol_handler
 
typedef epee::levin::async_protocol_handler_config< test_connection_contexttest_levin_protocol_handler_config
 
typedef epee::net_utils::connection< test_levin_protocol_handlertest_connection
 
typedef epee::net_utils::boosted_tcp_server< test_levin_protocol_handlertest_tcp_server
 

Enumerations

enum  command_ids {
  cmd_close_all_connections_id = 73564, cmd_start_open_close_test_id, cmd_get_statistics_id, cmd_reset_statistics_id,
  cmd_shutdown_id, cmd_send_data_requests_id, cmd_data_request_id
}
 

Functions

const std::string clt_port ("36230")
 
const std::string srv_port ("36231")
 

Variables

const unsigned int min_thread_count = 2
 

Typedef Documentation

◆ test_connection

◆ test_levin_protocol_handler

◆ test_levin_protocol_handler_config

◆ test_tcp_server

Enumeration Type Documentation

◆ command_ids

Function Documentation

◆ clt_port()

const std::string net_load_tests::clt_port ( "36230"  )

◆ srv_port()

const std::string net_load_tests::srv_port ( "36231"  )
Here is the caller graph for this function:

Variable Documentation

◆ min_thread_count

const unsigned int net_load_tests::min_thread_count = 2

Definition at line 214 of file net_load_tests.h.