Monero
Loading...
Searching...
No Matches
network_throttle.hpp File Reference

interface for throttling of connection (count and rate-limit speed etc) More...

#include <boost/asio.hpp>
#include <string>
#include <vector>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/array.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/thread/thread.hpp>
#include "syncobj.h"
#include "net/net_utils_base.h"
#include "misc_log_ex.h"
#include <boost/lambda/bind.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/uuid/random_generator.hpp>
#include <boost/chrono.hpp>
#include <boost/utility/value_init.hpp>
#include <boost/asio/deadline_timer.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include "misc_language.h"
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <memory>
#include <mutex>
#include <fstream>
Include dependency graph for network_throttle.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epee::net_utils::calculate_times_struct
class  epee::net_utils::network_throttle_manager
class  epee::net_utils::i_network_throttle

Namespaces

namespace  epee
 TODO: (mj-xmr) This will be reduced in an another PR.
namespace  epee::net_utils

Typedefs

typedef double epee::net_utils::network_speed_kbps
typedef double epee::net_utils::network_speed_bps
typedef double epee::net_utils::network_time_seconds
typedef double epee::net_utils::network_MB
typedef calculate_times_struct epee::net_utils::calculate_times_struct

Detailed Description

interface for throttling of connection (count and rate-limit speed etc)

Author
rfree (current maintainer in monero.cc project)