Hi Michael,
I agree with everything you've said.
Actually, notify-sequence-number is what should be used by the client to
ignore duplicates. For each subscription that matches its
Get-Notifications (usually only 1 subscription), it needs to know that
subscription ID and the last notify-sequence-number it received. That
requires very little work on the part of the client.
Marty
Michael Sweet <mike at easysw.com>@pwg.org on 07/27/2001 11:39:42 AM
Sent by: owner-ipp at pwg.org
To: Marty Joel <mjoel at netreon.com>
cc: ipp at pwg.org
Subject: Re: IPP> Duplicate ippget events
Marty Joel wrote:
> ...
> Actually, the client will receive duplicate events when it polls faster
> that the event timeout interval (which it must do to not lose events).
> There's a timestamp in each event, which the client must use to discard
> duplicates.
I can foresee some problems with this - the event timestamp is only
accurate to a second, and I can see many high-speed printers
generating more than 1 event per second!
Also, this increases the overhead on the server considerably.
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw.com
Printing Software for UNIX http://www.easysw.com