From: David ‘Bombe’ Roden Date: Fri, 22 May 2009 05:00:21 +0000 (+0200) Subject: Store FCP client for node. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=03ed14a581854cc442bc71402ccdf070f79c44dc;p=jSite2.git Store FCP client for node. --- diff --git a/src/net/pterodactylus/jsite/core/NodeManager.java b/src/net/pterodactylus/jsite/core/NodeManager.java index 3a1f68b..74221d4 100644 --- a/src/net/pterodactylus/jsite/core/NodeManager.java +++ b/src/net/pterodactylus/jsite/core/NodeManager.java @@ -324,6 +324,7 @@ public class NodeManager implements Iterable, PropertyChangeListener { try { FcpClient fcpClient = new FcpClient(clientName, node.getHostname(), node.getPort()); fcpClient.connect(); + nodeClients.put(node, fcpClient); nodeListenerSupport.fireNodeConnected(node); } catch (UnknownHostException uhe1) { nodeListenerSupport.fireNodeConnectionFailed(node, uhe1);