dflorey 2004/03/15 05:18:27
Modified: src/webdav/server/org/apache/slide/webdav/event
NotificationTrigger.java
Log:
Added FIXME's
Revision Changes Path
1.7 +6 -5
jakarta-slide/src/webdav/server/org/apache/slide/webdav/event/NotificationTrigger.java
Index: NotificationTrigger.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/event/NotificationTrigger.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- NotificationTrigger.java 15 Mar 2004 12:10:13 -0000 1.6
+++ NotificationTrigger.java 15 Mar 2004 13:18:27 -0000 1.7
@@ -117,6 +117,7 @@
private void notifySubscribers(EventCollection collection) {
Map subscriberEnumerations = new HashMap();
+ // FIXME: Add event method based dispatching... At the moment only update
events are handled
ContentEvent[] update =
EventCollectionFilter.getChangedContents(collection);
for ( int i = 0; i < update.length; i++ ) {
Subscriber[] subscribers = getSubscribers(update[i]);
@@ -182,7 +183,7 @@
} catch (IOException e) {
Domain.log("Notification of subscriber '"+callback.toString()+"'
failed!");
}
- } else {
+ } else if ( protocol.equals(TCP) ) {
Domain.log("UDP not yet implemented...");
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]