projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Notify listeners when a node was connected successfully.
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
core
/
NodeManager.java
diff --git
a/src/net/pterodactylus/jsite/core/NodeManager.java
b/src/net/pterodactylus/jsite/core/NodeManager.java
index
6842459
..
3a1f68b
100644
(file)
--- 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<Node>, PropertyChangeListener {
try {
FcpClient fcpClient = new FcpClient(clientName, node.getHostname(), node.getPort());
fcpClient.connect();
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) {
} catch (UnknownHostException uhe1) {
nodeListenerSupport.fireNodeConnectionFailed(node, uhe1);
} catch (IOException ioe1) {