X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fcore%2FNodeListener.java;h=1b045760ac42b0698d735f33ad6d53e075d866e4;hb=a70826c63fc16069cc7ea11c3957e221e79545c4;hp=11989693ea2e83cbc9cabf3bcd2aadc3505b22d8;hpb=cf127faffabd3f07b0acc6de9ea746059d571b56;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/core/NodeListener.java b/src/net/pterodactylus/jsite/core/NodeListener.java index 1198969..1b04576 100644 --- a/src/net/pterodactylus/jsite/core/NodeListener.java +++ b/src/net/pterodactylus/jsite/core/NodeListener.java @@ -23,14 +23,14 @@ import java.util.EventListener; /** * Interface for listeners that want to be notified about node events. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public interface NodeListener extends EventListener { /** * Notifies a listener that a node was added. - * + * * @param node * The node that was added */ @@ -38,7 +38,7 @@ public interface NodeListener extends EventListener { /** * Notifies a listener that a node was removed. - * + * * @param node * The node that was removed */ @@ -46,7 +46,7 @@ public interface NodeListener extends EventListener { /** * Notifies a listener that a connection to the given node was established. - * + * * @param node * The node that is now connected */ @@ -54,7 +54,7 @@ public interface NodeListener extends EventListener { /** * Notifies a listener that a connection to a node has failed. - * + * * @param node * The node that could not be connected * @param cause @@ -63,12 +63,8 @@ public interface NodeListener extends EventListener { public void nodeConnectionFailed(Node node, Throwable cause); /** - * Notifies a listener that a connection to the given node was severed. If - * the listener needs the high-level client associated with the node for - * anything else (like deregistering as listener from it) it should retrieve - * the high-level client using {@link NodeManager#getHighLevelClient(Node)} - * before this method returns! - * + * Notifies a listener that a connection to the given node was severed. + * * @param node * The node that is now disconnected * @param throwable