[Bug 25288] New: add ChannelDispatcher.CouldHandleChannel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 25 23:43:30 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25288

           Summary: add ChannelDispatcher.CouldHandleChannel
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-spec
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: danielle.madeley at collabora.co.uk


This has grown out of https://bugzilla.gnome.org/show_bug.cgi?id=589224

If you're adding API anyway, you might as well ask the question you actually
want to ask, rather than starting a speculative request and then cancelling it.
Something like this:

ChannelDispatcher.CouldHandleChannel(a{sv}: Properties) -> b [or as?]
    Check whether a requested channel whose immutable properties were
    Properties could be handled. Return TRUE if so.

    [Or: return the expected ChannelDispatchOperation.PossibleHandlers
    property for such a channel.]

    | This is appropriate for UIs to check whether a suitable client for
    | a request is installed; for instance, Empathy could use it .

    The channel dispatcher SHOULD assume that { Requested => TRUE } is
    in the Properties, even if it's not specifically given.

    | This matters if you have a client that only handles outgoing 
    | channels, like a Vino "share my desktop" request.


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



More information about the telepathy-bugs mailing list