make connections work
[jSite2.git] / src / net / pterodactylus / jsite / core / CoreListener.java
index fb109d7..04b063e 100644 (file)
@@ -163,6 +163,16 @@ public interface CoreListener {
        public void nodeConnected(Node node);
 
        /**
+        * Notifies a listener that a connection to a node has failed.
+        * 
+        * @param node
+        *            The node that could not be connected
+        * @param cause
+        *            The cause of the failure
+        */
+       public void nodeConnectionFailed(Node node, Throwable cause);
+
+       /**
         * Notifies all listeners that the core disconnected from the given node.
         * 
         * @param node