add FCPPluginReply
[jSite2.git] / src / net / pterodactylus / util / fcp / FcpListener.java
index 9b75bdb..a3a4381 100644 (file)
@@ -251,6 +251,97 @@ public interface FcpListener extends EventListener {
        public void receivedUnknownNodeIdentifier(FcpConnection fcpConnection, UnknownNodeIdentifier unknownNodeIdentifier);
 
        /**
+        * Notifies a listener that a “ConfigData” message was received.
+        * 
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param configData
+        *            The “ConfigData” message
+        */
+       public void receivedConfigData(FcpConnection fcpConnection, ConfigData configData);
+
+       /**
+        * Notifies a listener that a “GetFailed” message was recevied.
+        * 
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param getFailed
+        *            The “GetFailed” message
+        */
+       public void receivedGetFailed(FcpConnection fcpConnection, GetFailed getFailed);
+
+       /**
+        * Notifies a listener that a “PutFailed” message was received.
+        * 
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param putFailed
+        *            The “PutFailed” message
+        */
+       public void receivedPutFailed(FcpConnection fcpConnection, PutFailed putFailed);
+
+       /**
+        * Notifies a listener that an “IdentifierCollision” message was receied.
+        * 
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param identifierCollision
+        *            The “IdentifierCollision” message
+        */
+       public void receivedIdentifierCollision(FcpConnection fcpConnection, IdentifierCollision identifierCollision);
+
+       /**
+        * Notifies a listener that a “PersistentPutDir” message was received.
+        * 
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param persistentPutDir
+        *            The “PersistentPutDir” message
+        */
+       public void receivedPersistentPutDir(FcpConnection fcpConnection, PersistentPutDir persistentPutDir);
+
+       /**
+        * Notifies a listener that a “PersistentRequestRemoved” message was
+        * received.
+        * 
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param persistentRequestRemoved
+        *            The “PersistentRequestRemoved” message
+        */
+       public void receivedPersistentRequestRemoved(FcpConnection fcpConnection, PersistentRequestRemoved persistentRequestRemoved);
+
+       /**
+        * Notifies a listener that a “SubscribedUSKUpdate” message was received.
+        * 
+        * @param fcpConnection
+        *            The connection that recevied the message
+        * @param subscribedUSKUpdate
+        *            The “SubscribedUSKUpdate” message
+        */
+       public void receivedSubscribedUSKUpdate(FcpConnection fcpConnection, SubscribedUSKUpdate subscribedUSKUpdate);
+
+       /**
+        * Notifies a listener that a “PluginInfo” message was received.
+        * 
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param pluginInfo
+        *            The “PluginInfo” message
+        */
+       public void receivedPluginInfo(FcpConnection fcpConnection, PluginInfo pluginInfo);
+
+       /**
+        * Notifies a listener that an “FCPPluginReply“ message was received.
+        * 
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param fcpPluginReply
+        *            The “FCPPluginReply” message
+        */
+       public void receivedFCPPluginReply(FcpConnection fcpConnection, FCPPluginReply fcpPluginReply);
+
+       /**
         * Notifies a listener that a “ProtocolError” was received.
         * 
         * @param fcpConnection