[Telepathy] FileTransfer: integrating with annoying APIs

Danielle Madeley danielle.madeley at collabora.co.uk
Thu Oct 28 17:33:08 PDT 2010

On Thu, 2010-10-28 at 09:58 +0200, Guillaume Desmottes wrote:
> Le jeudi 28 octobre 2010 à 09:55 +0200, mikhail.zabaluev at nokia.com a
> écrit :
> > Still, using sockets spliced to temporary files as an intermediate step is a bit of a drag, especially if this detail leaks into the API. But I guess the sacred design cows that prevent writing file paths into the spec are still standing.
> IIRC, when we designed the current FT API, we said that we'll solve this
> problem by adding "Filename" property to the FT channel. Or was it
> defining a new ChannelType? I don't remember the final conclusion but
> I'm pretty sure we had in mind how to solve this problem.

Both of these require extensive additional code paths in the client. The
idea behind my solution is that it only requires a small tweak to the
client's state machine.

Danielle Madeley
Software Developer, Collabora Ltd.                  Melbourne, Australia


More information about the telepathy mailing list