ws-pubscribe-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r158629 - incubator/hermes/trunk/src/test/org/apache/ws/notification/topics/NotifProducer.java
Date Tue, 22 Mar 2005 17:27:26 GMT
Author: scamp
Date: Tue Mar 22 09:27:25 2005
New Revision: 158629

URL: http://svn.apache.org/viewcvs?view=rev&rev=158629
Log:
fix for compiling

Modified:
    incubator/hermes/trunk/src/test/org/apache/ws/notification/topics/NotifProducer.java

Modified: incubator/hermes/trunk/src/test/org/apache/ws/notification/topics/NotifProducer.java
URL: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/test/org/apache/ws/notification/topics/NotifProducer.java?view=diff&r1=158628&r2=158629
==============================================================================
--- incubator/hermes/trunk/src/test/org/apache/ws/notification/topics/NotifProducer.java (original)
+++ incubator/hermes/trunk/src/test/org/apache/ws/notification/topics/NotifProducer.java Tue
Mar 22 09:27:25 2005
@@ -5,6 +5,9 @@
 import org.apache.ws.pubsub.Subscription;
 import org.apache.ws.pubsub.NotificationConsumer;
 import org.apache.ws.pubsub.DeliveryMode;
+import org.apache.ws.pubsub.SubscriptionEndConsumer;
+import org.apache.ws.pubsub.TopicFilter;
+import org.apache.ws.pubsub.XPathFilter;
 import org.apache.ws.addressing.EndpointReference;
 import org.apache.ws.addressing.XmlBeansEndpointReference;
 import org.xmlsoap.schemas.ws.x2003.x03.addressing.EndpointReferenceType;
@@ -32,6 +35,21 @@
         attributedURI.setStringValue("http://foo");
         epr.setAddress(attributedURI);
         return new XmlBeansEndpointReference(epr);
+    }
+
+    /**
+     * Subscribe to notifications from this producer.
+     *
+     * @param notificationConsumer
+     * @param subscriptionEndConsumer the callback Interface for SubscriptionEnd Notifications,
or null if no SubscriptionEnd should be send
+     * @param filters
+     * @param initialTerminationTime
+     * @param deliveryMode            the notification delivery mode, or null to use default
mode
+     * @return the subscription
+     */
+    public Subscription subscribe(NotificationConsumer notificationConsumer, SubscriptionEndConsumer
subscriptionEndConsumer, TopicFilter tf, XPathFilter xf, Calendar initialTerminationTime,
boolean UseNotify)
+    {
+        return null;  //todo implement
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: hermes-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: hermes-dev-help@ws.apache.org


Mime
View raw message