From 708d0d9f54df2f6c02f31c75555a029ec8702614 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:14 +0200 Subject: [PATCH] Notify listeners when a node was connected successfully. --- 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 6842459..3a1f68b 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(); + nodeListenerSupport.fireNodeConnected(node); } catch (UnknownHostException uhe1) { nodeListenerSupport.fireNodeConnectionFailed(node, uhe1); } catch (IOException ioe1) { -- 2.7.4