Summary: | ConnectionManager: add properties for possible and guaranteed Connection.Interfaces per protocol | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Alberto Mardegan <mardy> |
Component: | tp-spec | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | enhancement | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | see 20774 | ||
i915 platform: | i915 features: | ||
Bug Depends on: | 20774 | ||
Bug Blocks: | 23148 |
Description
Alberto Mardegan
2008-10-22 01:03:37 UTC
There are two interesting sets of interfaces: those that will always be implemented by any Connection from this CM (e.g. Avatars in Gabble), and those that might be implemented, or not, depending on the Connection (e.g. OLPC stuff in Gabble). I think it's worth distinguishing between the two. To be maximally informative for clients, we'd have a map from protocol name to sets of interfaces, e.g. { "xmpp" => (definitely=[AVATARS, ALIASING, SIMPLE_PRESENCE], maybe=[OLPC_MISC]) }. As connection managers' capabilities get more advanced, I expect that we'll have more cases where a single CM has different capabilities depending on the protocol that's requested. (Use cases for that: in the long term we want Gabble and Salut to be the same CM, offering "xmpp" and "local-xmpp" protocols; meanwhile, Haze will probably start to export different interfaces on different protocols.) See Bug #20774 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.