|
| bool | connect (const std::string &addr, int port, std::chrono::milliseconds timeout, bool ssl=false, const std::string &bind_ip="0.0.0.0") |
| bool | connect (const std::string &addr, const std::string &port, std::chrono::milliseconds timeout, bool ssl=false, const std::string &bind_ip="0.0.0.0") |
| bool | disconnect () |
| bool | send (const boost::string_ref buff, std::chrono::milliseconds timeout) |
| bool | send (const void *data, size_t sz) |
| bool | is_connected () |
| bool | recv (std::string &buff, std::chrono::milliseconds timeout) |
| void | set_ssl (epee::net_utils::ssl_options_t ssl_options) |
| bool | is_connected (bool *ssl=NULL) |
| uint64_t | get_bytes_sent () const |
| uint64_t | get_bytes_received () const |
| void | set_test_data (const std::string &s) |
◆ connect() [1/2]
| bool dummy_client::connect |
( |
const std::string & | addr, |
|
|
const std::string & | port, |
|
|
std::chrono::milliseconds | timeout, |
|
|
bool | ssl = false, |
|
|
const std::string & | bind_ip = "0.0.0.0" ) |
|
inline |
◆ connect() [2/2]
| bool dummy_client::connect |
( |
const std::string & | addr, |
|
|
int | port, |
|
|
std::chrono::milliseconds | timeout, |
|
|
bool | ssl = false, |
|
|
const std::string & | bind_ip = "0.0.0.0" ) |
|
inline |
◆ disconnect()
| bool dummy_client::disconnect |
( |
| ) |
|
|
inline |
◆ get_bytes_received()
| uint64_t dummy_client::get_bytes_received |
( |
| ) |
const |
|
inline |
◆ get_bytes_sent()
| uint64_t dummy_client::get_bytes_sent |
( |
| ) |
const |
|
inline |
◆ is_connected() [1/2]
| bool dummy_client::is_connected |
( |
| ) |
|
|
inline |
◆ is_connected() [2/2]
| bool dummy_client::is_connected |
( |
bool * | ssl = NULL | ) |
|
|
inline |
◆ recv()
| bool dummy_client::recv |
( |
std::string & | buff, |
|
|
std::chrono::milliseconds | timeout ) |
|
inline |
◆ send() [1/2]
| bool dummy_client::send |
( |
const boost::string_ref | buff, |
|
|
std::chrono::milliseconds | timeout ) |
|
inline |
◆ send() [2/2]
| bool dummy_client::send |
( |
const void * | data, |
|
|
size_t | sz ) |
|
inline |
◆ set_ssl()
◆ set_test_data()
| void dummy_client::set_test_data |
( |
const std::string & | s | ) |
|
|
inline |
◆ data
| std::string dummy_client::data |
|
private |
The documentation for this class was generated from the following file: