Bug 13645

Summary: Provide channel factory base class implementing handle => channel mapping
Product: Telepathy Reporter: Mikhail Zabaluev <mikhail.zabaluev>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: enhancement    
Priority: low    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Mikhail Zabaluev 2007-12-13 07:57:32 UTC
The most common channel management pattern for peer-to-peer channels is mapping from remote handles to channels. There are similar implementations of a channel factory in connection managers which all feature a dynamic map from handles to channel objects, and share similar implementation quirks. It makes sense to provide a base class to reuse the mapping implementation.
Comment 1 Simon McVittie 2007-12-13 08:00:44 UTC
The implementation should also be usable for chatroom channels (with a hash table mapping from room handles to channels).

We should also provide a base class or mixin for anonymous channels stored in an array (for use by Gabble and telepathy-sofiasip media channels).
Comment 2 GitLab Migration User 2019-12-03 19:22:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/3.

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.