[maemo-developers] handling custom channels

From: Michael R. Head burner at suppressingfire.org
Date: Tue Feb 26 22:50:58 EET 2008
On Tue, 2008-02-26 at 15:18 -0500, harini satyanarayanan wrote:
> hi,
>    I am working on maemo+telepathy+missoin control to create an
> application that can exchange pictorial information.I am trying to
> create a custom channel in telepathy but not sure how it is done,
> cause all references only speak about already exsisting channels.
> 
> In the mission-control wiki I read that If an application wants to
> create a channel and handle it itself, it shouldn't go through the MC
> since only the application is responsible for that channel.also that
> all channel requests going through the MC will be dispatched with the
> .chandler mechanism. I am not sure how should custom channels be
> handled? Do you have some pointers   to some examples?

I'm looking here:
http://telepathy.freedesktop.org/wiki/File_Formats#head-0263c34034178028fe29d6e64683f4447405e9ef

The way I'm understanding it, is that telepathy will fire up a dbus
service when a channel of a given type is received over a connection.

So it should be possible to create a dbus service that registers with
telepathy to handle the edu.binghamton.SWB.Channel.Type.Whiteboard
channel type. If that service is registered with telepathy using
a .chandler file, then it should be notified when a contact requests
that sort of channel.

On the other side, it should be possible to begin by requesting the
"edu...Whiteboard" channel using either mission control or the telepathy
channel interface.

I haven't tried this, but I'm thinking this is the approach. I don't
know if it would even work with the current version of telepathy let
alone the version released with maemo... Perhaps someone else knows?

> I was asked to look into empathy to figure out how these work, but I
> assume that the .chandler files in empathy are for the standard text
> and audio/video channel.I doubt if empathy is using any custom
> channels.
> 
> Also I was seeing if there was a way i can embed these mesages onto
> anyone of the exsisting channels but I couldnt find much documentation
> on that too............I was hoping i sent these messages along with
> text messages and use the Channel_Text_Message_Type_Action flag to
> tell the application not to treat it as a normal message. Is this
> possible?
> 
> Sorry about so many questions....any help is greatly appreciated.
> 
> Thanks
> Harini
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
> 
-- 
Michael R. Head <burner at suppressingfire.org>
http://www.core.binghamton.edu/~burner/new/resume.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3259 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20080226/18ff9bd2/attachment.bin 
More information about the maemo-developers mailing list