[Bug 25236] New: TpHandler - a class that implements a Client.Handler
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 23 06:07:54 CET 2009
http://bugs.freedesktop.org/show_bug.cgi?id=25236
Summary: TpHandler - a class that implements a Client.Handler
Product: Telepathy
Version: unspecified
Platform: Other
URL: http://git.collabora.co.uk/?p=user/danni/telepathy-
glib.git;a=shortlog;h=refs/heads/tphandler
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: tp-glib
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: danielle.madeley at collabora.co.uk
I have put together a TpHandler class that allows you to write a Client.Handler
easily using tp-glib. You provide a channel filter and a handle-channels
callback.
It returns an object you can register on the bus that handles all of the
properties for you (including HandledChannels). When HandleChannels is called,
it converts all of the objects to their TpProxy equivalents and calls your
callback for you.
http://git.collabora.co.uk/?p=user/danni/telepathy-glib.git;a=shortlog;h=refs/heads/tphandler
Things that warrant looking at: it's possible that the automatic tracking of
HandledChannels needs improving for transient Client entries (e.g., where
you've registered another client for a short period to have a second filter in
place). Also, at the moment when you dispose the object it closes all the
channels.
--
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