[Ipcf] telepathy client library braindump

Robert McQueen robert.mcqueen at collabora.co.uk
Thu Nov 24 17:20:34 EET 2005


Here's a brain dump of the functionality required in the client library,
which I'd hope that would be useful to everyone who is using the framework
who doesn't have a special aversion to glib:

General
 * Generate a glib proxy object type for each Telepathy interfaces

Bootstrap
 * Read .manager files from disk to see what connection managers are
available, what their parameters are (mandatory, optional and default
components) and invoke them
 * Use bus introspection to discover existing connection manager objects
in org.freedesktop.Telepathy.ConnectionManager.* namespace
 * Use bus introspection to discover existing connection objects in
org.freedesktop.Telepathy.Connection.* namespace

Connection Managers
 * Provide an object representing an existing connection manager, hence:
    - Allow querying of parameters
    - Allow binding to signals for new connections
    - Allow requesting a new connection

Connections
 * Provide a means to request an object representing an existing connection
 * When connected, populate a struct with proxy objects for the available
interfaces (including the connection interface itself)
 * Hence you can enumerate existing channels on a given connection and
bind to signals for new channels
 * Optional extra: implement a cache for what handles represent (type and
name) for the lifetime of the connection

Channels
 * Provide a means to request an object representing an existing channel,
and populate a struct with proxy objects for the available interfaces
(including the channel interface itself)

Comments?

Regards,
Rob




More information about the Ipcf mailing list