[Bug 31130] Allow Observers to implement Client.Interface.Requests.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 26 12:52:54 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=31130

--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-10-26 03:52:53 PDT ---
(In reply to comment #0)
> They can tell if those requests succeed by a
> subsequent call to ObserveChannels() with the request in Requests_Satisfied; if
> they fail, they will have RemoveRequest() called on them.

If the channel appears and is observed, but then dispatching fails in some
other way, should the Observer still have RemoveRequest() called on it?

(In particular, if the channel closes after observation but before handling
(the Handler would get RemoveRequest called on it at this point), or if the
Handler fails to HandleChannels.)

I suspect that the answer is no, in which case RemoveRequest's documentation
will basically be:

If it's an Observer, ...

If it's a Handler, ...

If an Observer/Handler hybrid implements Requests, can it tell whether
AddRequest means "you will probably observe" or "you will probably handle"?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list