summaryrefslogtreecommitdiff
path: root/node/Multicaster.hpp
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-07-07 19:24:02 -0700
committerGrant Limberg <glimberg@gmail.com>2015-07-07 19:24:02 -0700
commit1ad2cfeedfa2a9f4fc1f512e1009e5bb1b0630cb (patch)
treed8264c9bd4f6b9dce3f5237b94fe1f2fc521cf19 /node/Multicaster.hpp
parent6d398beefddb48d91f27e5f41bf39f40eb77222f (diff)
parent412389ec755528108e0254e75a9cf43fc53e331a (diff)
downloadinfinitytier-1ad2cfeedfa2a9f4fc1f512e1009e5bb1b0630cb.tar.gz
infinitytier-1ad2cfeedfa2a9f4fc1f512e1009e5bb1b0630cb.zip
Merge branch 'adamierymenko-dev' into android-jni
Diffstat (limited to 'node/Multicaster.hpp')
-rw-r--r--node/Multicaster.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp
index c6c93b1f..0dd199f9 100644
--- a/node/Multicaster.hpp
+++ b/node/Multicaster.hpp
@@ -107,6 +107,15 @@ public:
void addMultiple(uint64_t now,uint64_t nwid,const MulticastGroup &mg,const void *addresses,unsigned int count,unsigned int totalKnown);
/**
+ * Remove a multicast group member (if present)
+ *
+ * @param nwid Network ID
+ * @param mg Multicast group
+ * @param member Member to unsubscribe
+ */
+ void remove(uint64_t nwid,const MulticastGroup &mg,const Address &member);
+
+ /**
* Append gather results to a packet by choosing registered multicast recipients at random
*
* This appends the following fields to the packet: