Add getReplies() method to return all replies from the plugin.
[jFCPlib.git] / src / net / pterodactylus / fcp / FcpListener.java
index 90860e5..5b5149a 100644 (file)
@@ -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 <code>null</code>
+        *            if there was no exception
         */
-       public void connectionClosed(FcpConnection fcpConnection);
+       public void connectionClosed(FcpConnection fcpConnection, Throwable throwable);
 
 }