Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9431 in orxonox.OLD


Ignore:
Timestamp:
Jul 24, 2006, 4:13:04 PM (18 years ago)
Author:
bensch
Message:

getBandwidth's

Location:
branches/proxy/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/monitor/connection_monitor.h

    r9406 r9431  
    3434
    3535    void printStatis();
     36    float getIncomingUnzippedBandWidth() const { return incomingUnzippedBandWidth; }
     37    float getOutgoingUnzippedBandWidth() const { return outgoingUnzippedBandWidth; }
     38    float getIncomingZippedBandWidth() const { return incomingZippedBandWidth; }
     39    float getOutgoingZippedBandWidth() const { return outgoingZippedBandWidth; }
    3640
    3741  private:
  • branches/proxy/src/lib/network/monitor/network_monitor.cc

    r9426 r9431  
    119119 * @param ip ip of the new node
    120120 */
    121 void NetworkMonitor::addNode(IP ip, int nodeType)
     121void NetworkMonitor::addNode(const IP& ip, int nodeType)
    122122{
    123123  PeerInfo* pInfo = new PeerInfo();
  • branches/proxy/src/lib/network/monitor/network_monitor.h

    r9406 r9431  
    3737
    3838    void addNode(PeerInfo* pInfo);
    39     void addNode(IP ip, int nodeType);
     39    void addNode(const IP& ip, int nodeType);
    4040    void addNode(NetworkNode* node) { this->nodeList.push_back(node); }
    4141    void addNode(NetworkNode* node, PeerInfo* pInfo);
  • branches/proxy/src/util/network_stats_widget.h

    r9406 r9431  
    6262
    6363    private:
    64       HostWidget       _proxyWidget;
     64      HostWidget                _proxyWidget;
    6565
    6666      std::vector<HostWidget*>  _clients;
    67       float            _clientNameWidth;
     67      float                     _clientNameWidth;
    6868  };
    6969
Note: See TracChangeset for help on using the changeset viewer.