From b05dfadc04934f5c0349a1fe45e3632ad6c15c0a Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Fri, 26 Sep 2014 17:27:45 +0100 Subject: [PATCH] HCOLL-134 ( release draft cut of the code so that I can test it across my network ) --- .../chronicle/map/NodeDiscoveryHostPortBroadcaster.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/openhft/chronicle/map/NodeDiscoveryHostPortBroadcaster.java b/src/main/java/net/openhft/chronicle/map/NodeDiscoveryHostPortBroadcaster.java index 5efef4edb..cd599da85 100644 --- a/src/main/java/net/openhft/chronicle/map/NodeDiscoveryHostPortBroadcaster.java +++ b/src/main/java/net/openhft/chronicle/map/NodeDiscoveryHostPortBroadcaster.java @@ -20,6 +20,9 @@ import static net.openhft.chronicle.map.NodeDiscoveryHostPortBroadcaster.BOOTSTR import static net.openhft.chronicle.map.NodeDiscoveryHostPortBroadcaster.LOG; /** + * Broad cast the nodes host ports and identifiers over UDP, to make it easy to join a grid of remote nodes + * just by name, this functionality requires UDP + * * @author Rob Austin. */ public class NodeDiscoveryHostPortBroadcaster extends UdpChannelReplicator { @@ -479,18 +482,15 @@ class BytesExternalizableImpl implements BytesExternalizable { public void sendBootStrap() { bootstrapRequired.set(true); - } public void add(InetSocketAddress interfaceAddress) { allNodes.add(interfaceAddress); - } public void add(byte identifier) { allNodes.activeIdentifierBitSet().set(identifier); - }