From: David ‘Bombe’ Roden Date: Fri, 22 May 2009 05:00:14 +0000 (+0200) Subject: Notify listeners when a node was connected successfully. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=708d0d9f54df2f6c02f31c75555a029ec8702614;p=jSite2.git Notify listeners when a node was connected successfully. --- 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) {