Electroneum
net_load_tests Namespace Reference

Classes

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

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

Enumerator
cmd_close_all_connections_id 
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 

Definition at line 218 of file net_load_tests.h.

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.