added in unregister
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 10 May 2007 15:58:29 +0000 (15:58 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 10 May 2007 15:58:29 +0000 (15:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@536901 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/CometEvent.java
java/org/apache/catalina/connector/CometEventImpl.java

index 0eb8386..f29e51f 100644 (file)
@@ -210,6 +210,15 @@ public interface CometEvent {
         throws IOException, IllegalStateException;
     
     /**
+     * Unregisters Comet operations for this CometConnection
+     * @param operations CometOperation[]
+     * @throws IOException
+     * @throws IllegalStateException
+     */
+    public void unregister(CometOperation... operations)
+        throws IOException, IllegalStateException;
+
+    /**
      * Returns what the current IO notifications that the Comet
      * connection is registered for.
      * @return CometOperations[]
index b877737..40058d1 100644 (file)
@@ -138,6 +138,11 @@ public class CometEventImpl implements CometEvent {
         throws IOException, IllegalStateException {
         throw new UnsupportedOperationException();
     }
+
+    public void unregister(CometOperation... operations)
+        throws IOException, IllegalStateException {
+        throw new UnsupportedOperationException();
+    }
     
     public CometConfiguration[] getConfiguration() {
         throw new UnsupportedOperationException();