Electroneum
epee::net_utils::network_throttle_bw Struct Reference

#include <network_throttle-detail.hpp>

Collaboration diagram for epee::net_utils::network_throttle_bw:

Public Member Functions

 network_throttle_bw (const std::string &name1)
 

Public Attributes

network_throttle m_in
 for incomming traffic (this we can not controll directly as it depends of what others send to us - usually) More...
 
network_throttle m_inreq
 for requesting incomming traffic (this is exact usually) More...
 
network_throttle m_out
 for outgoing traffic that we just sent (this is exact usually) More...
 

Detailed Description

Definition at line 112 of file network_throttle-detail.hpp.

Constructor & Destructor Documentation

◆ network_throttle_bw()

epee::net_utils::network_throttle_bw::network_throttle_bw ( const std::string &  name1)

Definition at line 98 of file network_throttle.cpp.

99  : m_in("in/"+name1, name1+"-DOWNLOAD"), m_inreq("inreq/"+name1, name1+"-DOWNLOAD-REQUESTS"), m_out("out/"+name1, name1+"-UPLOAD")
100 { }
network_throttle m_inreq
for requesting incomming traffic (this is exact usually)
network_throttle m_out
for outgoing traffic that we just sent (this is exact usually)
network_throttle m_in
for incomming traffic (this we can not controll directly as it depends of what others send to us - us...

Member Data Documentation

◆ m_in

network_throttle epee::net_utils::network_throttle_bw::m_in

for incomming traffic (this we can not controll directly as it depends of what others send to us - usually)

Definition at line 114 of file network_throttle-detail.hpp.

◆ m_inreq

network_throttle epee::net_utils::network_throttle_bw::m_inreq

for requesting incomming traffic (this is exact usually)

Definition at line 115 of file network_throttle-detail.hpp.

◆ m_out

network_throttle epee::net_utils::network_throttle_bw::m_out

for outgoing traffic that we just sent (this is exact usually)

Definition at line 116 of file network_throttle-detail.hpp.


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