add StartedCompression
[jSite2.git] / src / net / pterodactylus / util / fcp / FcpListener.java
index c090602..c55a336 100644 (file)
@@ -184,13 +184,23 @@ public interface FcpListener extends EventListener {
         * Notifies a listener that a “SimpleProgress” was received.
         * 
         * @param fcpConnection
-        *            The connection that received the event
+        *            The connection that received the message
         * @param simpleProgress
-        *            The “Simple Progress” message
+        *            The “SimpleProgress” message
         */
        public void receivedSimpleProgress(FcpConnection fcpConnection, SimpleProgress simpleProgress);
 
        /**
+        * Notifies a listener that a “StartedCompression” was received.
+        * 
+        * @param fcpConnection
+        *            The connection that received the message
+        * @param startedCompression
+        *            The “StartedCompression” message
+        */
+       public void receivedStartedCompression(FcpConnection fcpConnection, StartedCompression startedCompression);
+
+       /**
         * Notifies a listener that a “ProtocolError” was received.
         * 
         * @param fcpConnection