Re: [Telepathy] telepathy-gabble: Arbitrary IQs, direct use of PEP?

2008-02-28 Thread mikhail.zabaluev
Hi,

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ext Eric Butler
Sent: Thursday, February 28, 2008 7:15 AM
To: Guillaume Desmottes
Cc: Christian Hergert; telepathy@lists.freedesktop.org
Subject: Re: [Telepathy] telepathy-gabble: Arbitrary IQs, 
direct use of PEP?

Do you have an example of how I can do what I need without modifying
gabble?

Modify gabble to allow plugins implementing extensions?
I'm interested in this kind of work because that's what we are going to do for
Telepathy-SofiaSIP.

Best regards,
  Mikhail
___
Telepathy mailing list
Telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] handling custom channels

2008-02-28 Thread Dafydd Harries
Ar 28/02/2008 am 06:53, ysgrifennodd harini satyanarayanan:
 hi,
   I am working on maemo+telepathy+mission 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 existing 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 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 messages onto
 anyone of the existing channels but I couldn't find much documentation
 on that tooI 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 questionsany help is greatly appreciated.

Each connection manager can only support those channel types that it has been
programmed to support. Each channel type it supports is mapped to the
underlying protocols. I.e. if the CM supports the Text channel type, it has
code to map that to sending and receiving text messages in the protocols it
supports.

For applications that need to communicate in ways not supported by other
channel types, we have tubes, which are intended to support general
communication.

If you don't have a connection manager that doesn't support tubes, you could
layer your application messages over text channels, but on Maemo, Mission
Control will hand text channels to the chat UI.

I hope this clarifies things.

-- 
Dafydd
___
Telepathy mailing list
Telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] handling custom channels

2008-02-28 Thread Michael R. Head

On Thu, 2008-02-28 at 16:10 +, Dafydd Harries wrote:
 Ar 28/02/2008 am 06:53, ysgrifennodd harini satyanarayanan:

 Each connection manager can only support those channel types that it has been
 programmed to support. Each channel type it supports is mapped to the
 underlying protocols. I.e. if the CM supports the Text channel type, it has
 code to map that to sending and receiving text messages in the protocols it
 supports.

So if, for example, telepathy-gabble doesn't support a custom channel
type, it wouldn't be possible to just implement a custom channel
handler, we'd have to implement our own connection manager?

 For applications that need to communicate in ways not supported by other
 channel types, we have tubes, which are intended to support general
 communication.

But in maemo 4.0's case, tubes aren't available in any event (yet).

 If you don't have a connection manager that doesn't support tubes, you could
 layer your application messages over text channels, but on Maemo, Mission
 Control will hand text channels to the chat UI.

So what you're saying is that it's simply not possible (on maemo 4.0) to
write an app that with a specialized, app-specific communication channel
using telepathy.

So from what I understand, it looks like the best way to build a maemo
app that uses an IM system for app-specific communication today is to
use libloudmouth or sofiasip directly and avoid telepathy until the
tubes API is available. 

Would you agree with that?

 I hope this clarifies things.
 
-- 
Michael R. Head [EMAIL PROTECTED]
http://www.core.binghamton.edu/~burner/new/resume.html


smime.p7s
Description: S/MIME cryptographic signature
___
Telepathy mailing list
Telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy