Yay... now everything compiles! Getting close to testing on this. Still have not added backward compatibility support for relaying of multicasts to 0.9.X clients yet but that will be easy. Will test with heterogenous 1.0.0 clients only first.

This commit is contained in:
Adam Ierymenko 2014-10-01 12:41:48 -07:00
parent ea6124dd2f
commit ae082c3cb8
7 changed files with 43 additions and 23 deletions

View file

@ -163,6 +163,16 @@ public:
return _myMulticastGroups;
}
/**
* @param mg Multicast group
* @return True if this group is among those to which I am subscribed
*/
inline bool wantMulticastGroup(const MulticastGroup &mg) const
{
Mutex::Lock _l(_lock);
return (_myMulticastGroups.count(mg) > 0);
}
/**
* Set or update this network's configuration
*