Awesome, thanks.

Question about the notification type. What difference does it make :)? I need to get notifications any time something changes (add/change/delete). I've create an event that generates this information, but I see no way to indicate that the client is interested in this event. Is this what what "method" is for, or is it something else? Do I just need to create four subscriptions, one for each method, and not bother with the event type I created?

-James

Stefan L�tzkendorf wrote:

James,

@param method the "notification type", determines for what events do you
want do subscribe. one of "Update", "Update/newmember", "Delete", "Move"
(I dont know whether we are support all)
@param uri the resource for that you subscribe
@param depth the depth of the collection tree that you want to observe
@param lifetime the duration for that you want to observe (in seconds)
@param notificationDelay the time the server waits before it sends a notify
message to the host provided in the constructor (in seconds)
@param listener the Listner that is called on incomming fotifications
@param credentials credentials for authntication on the server observed


@seealso WebdavResource#subscribeMethod
@seealso http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_webdav_subscribe.asp



Regads, Stefan

James Mason wrote:

Daniel,
Can you provide any documentation for NotificationListener.subscribe()? Specifically what the method parameter is and what the valid values are, as well as the effect of notificationDelay.


What units the time parameters are in would be useful too :).

Thanks,
James

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to