Store FCP client for node.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 22 May 2009 05:00:21 +0000 (07:00 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 22 May 2009 05:00:21 +0000 (07:00 +0200)
src/net/pterodactylus/jsite/core/NodeManager.java

index 3a1f68b..74221d4 100644 (file)
@@ -324,6 +324,7 @@ public class NodeManager implements Iterable<Node>, 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);