X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FFcpListener.java;h=5b5149a63ffd9d19b9db5b8f7d2837131ea3d5be;hb=1b240fc2b238ac15b0e20e5b2828bb1fecbfa31a;hp=90860e56a36ec4d7313a2eadfafa54df50223739;hpb=f553531be78d6d6d95dc152728f2b8d40242b57d;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/FcpListener.java b/src/net/pterodactylus/fcp/FcpListener.java index 90860e5..5b5149a 100644 --- a/src/net/pterodactylus/fcp/FcpListener.java +++ b/src/net/pterodactylus/fcp/FcpListener.java @@ -25,7 +25,6 @@ import java.util.EventListener; * Interface for objects that want to be notified on certain FCP events. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public interface FcpListener extends EventListener { @@ -401,7 +400,10 @@ public interface FcpListener extends EventListener { * * @param fcpConnection * The connection that was closed. + * @param throwable + * The exception that caused the disconnect, or null + * if there was no exception */ - public void connectionClosed(FcpConnection fcpConnection); + public void connectionClosed(FcpConnection fcpConnection, Throwable throwable); }