From: TJ Date: Mon, 4 May 2015 15:30:08 +0000 (+0100) Subject: NetworkServerUDPMulticast: move "all" target out X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=WeStealzYourDataz.git;a=commitdiff_plain;h=b07ca7d2e40e6107a8ef55e6c5f6be8dccd55506 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. --- 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())); } /**