set type of request
[jSite2.git] / src / net / pterodactylus / jsite / core / RequestListener.java
index eb0433a..27ce517 100644 (file)
@@ -32,11 +32,25 @@ public interface RequestListener extends EventListener {
        /**
         * Notifies a listener that a request was added to a node.
         * 
-        * @param node
-        *            The node the request was added to
         * @param request
         *            The request that was added
         */
-       public void requestAdded(Node node, Request request);
+       public void requestAdded(Request request);
+
+       /**
+        * Notifies a listener that a request made progress.
+        * 
+        * @param request
+        *            The request
+        */
+       public void requestProgressed(Request request);
+
+       /**
+        * Notifies a listener that a request was removed.
+        * 
+        * @param request
+        *            The request that was removed
+        */
+       public void requestRemoved(Request request);
 
 }