[Telepathy] [Bug 18527] New: Add org.freedesktop.Telepathy.Channel.Interface. LocalFile interface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 14 02:37:07 PST 2008


           Summary: Add
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-spec
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: guillaume.desmottes at collabora.co.uk

We need a FileTransfer LocalFile interface for CM that can't implement the
socket one because of the underlying IM library.

Such interface would depend on
org.freedesktop.Telepathy.Channel.Type.FileTransfer.DRAFT and would have these
2 methods:
- ProvideLocalFile(v: path)
- AcceptLocalFile(v: path)

We should probably define a "LocalFilePath" new TP type as a variant which can
be 's' if the path is in UTF-8 and 'ay' if it's not.

This interface would also have a "LocalFileOnly" boolean property set to TRUE.

Clients would be able to detect if a CM support this interface by looking at
- if the CM implements just the 'normal' FT mode: {ChannelType: FileTransfer}
- if the CM doesn't support Socket FT: {ChannelType: FileTransfer,
LocalFileOnly: True}
- if the CM implements both it announces the 2 channel classes above.

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 mailing list