Chops Net IP
Loading...
Searching...
No Matches
chops::test::net_entity_mock Struct Reference

Public Types

using ios_chg_func = std::function<void (io_interface_mock, std::size_t, bool)>
 

Public Member Functions

bool is_started () const
 
template<typename F >
void visit_socket (F &&f)
 
template<typename F >
std::size_t visit_io_output (F &&f)
 
template<typename F1 , typename F2 >
std::error_code start (F1 &&ios, F2 &&)
 
std::error_code stop ()
 

Public Attributes

ios_chg_func io_cb
 
std::shared_ptr< io_handler_mockmock_ioh_sp = std::make_shared<io_handler_mock>()
 
float mock_sock = 11.0f
 
bool started = false
 

The documentation for this struct was generated from the following file: