Add Maven project description.
[jFCPlib.git] / src / net / pterodactylus / fcp / FcpListenerManager.java
index f2d8133..4e1cce6 100644 (file)
@@ -1,6 +1,5 @@
 /*
- * jFCPlib - FcpListenerManager.java -
- * Copyright © 2009 David Roden
+ * jFCPlib - FcpListenerManager.java - Copyright © 2009 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
@@ -512,6 +511,19 @@ public class FcpListenerManager extends AbstractListenerManager<FcpConnection, F
        }
 
        /**
+        * Notifies all listeners that a “SentFeed” message was received.
+        *
+        * @see FcpListener#receivedSentFeed(FcpConnection, SentFeed)
+        * @param sentFeed
+        *            The “SentFeed” message.
+        */
+       public void fireSentFeed(SentFeed sentFeed) {
+               for (FcpListener fcpListener : getListeners()) {
+                       fcpListener.receivedSentFeed(getSource(), sentFeed);
+               }
+       }
+
+       /**
         * Notifies all listeners that a “ReceivedBookmarkFeed” message was
         * received.
         *