#include <network_throttle.hpp>
Definition at line 133 of file network_throttle.hpp.
◆ calculate_times()
| virtual void epee::net_utils::i_network_throttle::calculate_times |
( |
size_t |
packet_size, |
|
|
calculate_times_struct & |
cts, |
|
|
bool |
dbg, |
|
|
double |
force_window |
|
) |
| const |
|
pure virtual |
◆ get_recommended_size_of_planned_transport()
| virtual size_t epee::net_utils::i_network_throttle::get_recommended_size_of_planned_transport |
( |
| ) |
const |
|
pure virtual |
◆ get_sleep_time()
| virtual network_time_seconds epee::net_utils::i_network_throttle::get_sleep_time |
( |
size_t |
packet_size | ) |
const |
|
pure virtual |
◆ get_sleep_time_after_tick()
| virtual network_time_seconds epee::net_utils::i_network_throttle::get_sleep_time_after_tick |
( |
size_t |
packet_size | ) |
|
|
pure virtual |
◆ get_stats()
| virtual void epee::net_utils::i_network_throttle::get_stats |
( |
uint64_t & |
total_packets, |
|
|
uint64_t & |
total_bytes |
|
) |
| const |
|
pure virtual |
◆ get_target_speed()
◆ get_time_seconds()
| virtual double epee::net_utils::i_network_throttle::get_time_seconds |
( |
| ) |
const |
|
pure virtual |
◆ handle_trafic_exact()
| virtual void epee::net_utils::i_network_throttle::handle_trafic_exact |
( |
size_t |
packet_size | ) |
|
|
pure virtual |
◆ handle_trafic_tcp()
| virtual void epee::net_utils::i_network_throttle::handle_trafic_tcp |
( |
size_t |
packet_size | ) |
|
|
pure virtual |
◆ logger_handle_net()
| virtual void epee::net_utils::i_network_throttle::logger_handle_net |
( |
const std::string & |
filename, |
|
|
double |
time, |
|
|
size_t |
size |
|
) |
| |
|
pure virtual |
◆ set_name()
| virtual void epee::net_utils::i_network_throttle::set_name |
( |
const std::string & |
name | ) |
|
|
pure virtual |
◆ set_target_speed()
| virtual void epee::net_utils::i_network_throttle::set_target_speed |
( |
network_speed_kbps |
target | ) |
|
|
pure virtual |
◆ tick()
| virtual void epee::net_utils::i_network_throttle::tick |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: