From b07ca7d2e40e6107a8ef55e6c5f6be8dccd55506 Mon Sep 17 00:00:00 2001 From: TJ Date: Mon, 4 May 2015 16:30:08 +0100 Subject: [PATCH] NetworkServerUDPMulticast: move "all" target out _serviceToHostMap has moved out of NetworkServerAbstract into ServiceAddressMap and is now owned by the application class where the 'all' target should be set. --- .../ntu/n0521366/wsyd/libs/net/NetworkServerUDPMulticast.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/uk/ac/ntu/n0521366/wsyd/libs/net/NetworkServerUDPMulticast.java b/src/uk/ac/ntu/n0521366/wsyd/libs/net/NetworkServerUDPMulticast.java index 559e81b..233fc34 100644 --- a/src/uk/ac/ntu/n0521366/wsyd/libs/net/NetworkServerUDPMulticast.java +++ b/src/uk/ac/ntu/n0521366/wsyd/libs/net/NetworkServerUDPMulticast.java @@ -58,8 +58,6 @@ public class NetworkServerUDPMulticast extends NetworkServerUDP { */ public NetworkServerUDPMulticast(WSYD_SocketAddress socketAddress, String title, ServiceAddressMap serviceToHostMap, Logger logger) { super(socketAddress, title, serviceToHostMap, logger); - // permit broadcasting to pseudo-host 'all' since this is multicast - this._serviceToHostMap.put("all", new ServiceAddressMap.LastSeenHost(socketAddress.getSocketAddress())); } /** -- 2.17.1