[Telepathy-commits] [telepathy-spec/master] Added rationale about the socket approach.
Jonny Lamb
jonny.lamb at collabora.co.uk
Mon Nov 3 15:04:52 PST 2008
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
spec/Channel_Type_File_Transfer.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/spec/Channel_Type_File_Transfer.xml b/spec/Channel_Type_File_Transfer.xml
index 4838f7f..9c2fb76 100644
--- a/spec/Channel_Type_File_Transfer.xml
+++ b/spec/Channel_Type_File_Transfer.xml
@@ -27,6 +27,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
or writing to a socket. The type of the socket (local Unix, IPv4,
etc.) is decided on when the file transfer is offered or accepted.</p>
+ <p>A socket approach is used to make the transfer less dependent on both
+ client and connection manager knowing the same protocols. As an example,
+ when browsing an SMB share in a file manager, one selects "Send file"
+ and chooses a contact. Instead of passing a URL which would then require
+ the connection manager to connect to the SMB share itself, the client
+ passes a stream from which the connection manager reads, requiring no
+ further connection to the share.</p>
+
<p>The Telepathy client should connect to the socket or address that
the connection manager has set up and provided back to the clients
through the two methods.</p>
--
1.5.6.5
More information about the Telepathy-commits
mailing list