summaryrefslogtreecommitdiff
path: root/node/Network.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-24 14:02:16 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-24 14:02:16 -0700
commit6c87f9f765f524dd212c191511a79f52d01ee2c6 (patch)
treea80351402c8879afddc9441c1394388bc6e53171 /node/Network.hpp
parent81b12b682649c1b742f20c54449df19e12a5a9eb (diff)
downloadinfinitytier-6c87f9f765f524dd212c191511a79f52d01ee2c6.tar.gz
infinitytier-6c87f9f765f524dd212c191511a79f52d01ee2c6.zip
Rename MulticastTopology to Multicaster -- same name as old multicast controller but different code. More descriptive though.
Diffstat (limited to 'node/Network.hpp')
-rw-r--r--node/Network.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/node/Network.hpp b/node/Network.hpp
index 3849a453..e3f9ff63 100644
--- a/node/Network.hpp
+++ b/node/Network.hpp
@@ -51,7 +51,7 @@
#include "Identity.hpp"
#include "InetAddress.hpp"
#include "BandwidthAccount.hpp"
-#include "MulticastTopology.hpp"
+#include "Multicaster.hpp"
#include "NetworkConfig.hpp"
#include "CertificateOfMembership.hpp"
#include "Thread.hpp"
@@ -416,8 +416,8 @@ public:
/**
* @return Multicast topology for this network
*/
- inline MulticastTopology &mcTopology() { return _multicastTopology; }
- inline const MulticastTopology &mcTopology() const { return _multicastTopology; }
+ inline Multicaster &mc() { return _multicaster; }
+ inline const Multicaster &mc() const { return _multicaster; }
/**
* Destroy this network
@@ -453,7 +453,7 @@ private:
std::set< MulticastGroup > _myMulticastGroups; // multicast groups that we belong to including those behind us (updated periodically)
std::map< MulticastGroup,uint64_t > _multicastGroupsBehindMe; // multicast groups bridged to us and when we last saw activity on each
std::map< MulticastGroup,BandwidthAccount > _multicastRateAccounts;
- MulticastTopology _multicastTopology;
+ Multicaster _multicaster;
std::map<MAC,Address> _remoteBridgeRoutes; // remote addresses where given MACs are reachable