* 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 {
* @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.
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