[Telepathy-commits] [telepathy-salut/master] docs/tubes.txt: Examples for tube closing

Alban Crequy alban.crequy at collabora.co.uk
Tue Nov 25 03:59:30 PST 2008


---
 docs/tubes.txt |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/docs/tubes.txt b/docs/tubes.txt
index 894643e..f9bf08b 100644
--- a/docs/tubes.txt
+++ b/docs/tubes.txt
@@ -49,9 +49,19 @@ runs AcceptStreamTube or CloseTube.
 The receptor uses the port given by the iq stanza and the IP address used by the XMPP connection.
 
 Receptor to initiator: close the tube
+  <iq type="set"
+      from="alban_test02 at alban-hp"
+      to="alban_test01 at alban-hp"
+      id="67843">
+    <close id="364091438"
+           xmlns="http://telepathy.freedesktop.org/xmpp/tubes">
+  </iq>
 
 Initiator to receptor: acknowledges the close request
-
+  <iq type="result"
+      from="alban_test01 at alban-hp"
+      to="alban_test02 at alban-hp"
+      id="67843"/>
 
 Note that the close message is sent twice. This must be fixed. Gabble has the
 same bug:
-- 
1.5.6.5




More information about the Telepathy-commits mailing list