X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FFcpListener.java;h=a23b7ee3cf3d97e56111c8909ec4f5572bc3bed2;hb=e0d4c56493b97a16514ca865cad0ae42a2d8a5a2;hp=09a5f2a43ede96b0a0480cd2255e3412fb86453e;hpb=930a13cd3640422a0fd23e2952cacf798286f0bc;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/FcpListener.java b/src/net/pterodactylus/fcp/FcpListener.java index 09a5f2a..a23b7ee 100644 --- a/src/net/pterodactylus/fcp/FcpListener.java +++ b/src/net/pterodactylus/fcp/FcpListener.java @@ -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