From 03ed14a581854cc442bc71402ccdf070f79c44dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 22 May 2009 07:00:21 +0200 Subject: [PATCH] Store FCP client for node. --- src/net/pterodactylus/jsite/core/NodeManager.java | 1 + 1 file changed, 1 insertion(+) 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); -- 2.7.4