Fix copyright line.
[jFCPlib.git] / src / net / pterodactylus / fcp / FcpListener.java
index 09a5f2a..a23b7ee 100644 (file)
@@ -1,6 +1,5 @@
 /*
- * jSite2 - FpcListener.java -
- * Copyright © 2008 David Roden
+ * jFCPlib - FpcListener.java - Copyright © 2008 David Roden
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -25,7 +24,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 {
 
@@ -228,7 +226,7 @@ public interface FcpListener extends EventListener {
         * @param finishedCompression
         *            The “FinishedCompression” message
         */
-       public void receviedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression);
+       public void receivedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression);
 
        /**
         * Notifies a listener that an “UnknownPeerNoteType” was received.
@@ -373,6 +371,16 @@ public interface FcpListener extends EventListener {
        public void receivedPutFetchable(FcpConnection fcpConnection, PutFetchable putFetchable);
 
        /**
+        * Notifies a listener that a bookmark was updated.
+        *
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param receivedBookmarkFeed
+        *            The “ReceivedBookmarkFeed” message
+        */
+       public void receivedBookmarkFeed(FcpConnection fcpConnection, ReceivedBookmarkFeed receivedBookmarkFeed);
+
+       /**
         * Notifies a listener that a “ProtocolError” was received.
         *
         * @param fcpConnection