[telepathy-gabble/master] Summarize the various outgoing call APIs.

Will Thompson will.thompson at collabora.co.uk
Wed Apr 22 07:10:13 PDT 2009


---
 tests/twisted/jingle/outgoing-basics.py |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/tests/twisted/jingle/outgoing-basics.py b/tests/twisted/jingle/outgoing-basics.py
index d3de942..681c6c5 100644
--- a/tests/twisted/jingle/outgoing-basics.py
+++ b/tests/twisted/jingle/outgoing-basics.py
@@ -18,10 +18,13 @@ from jingletest2 import JingleTest2, test_all_dialects
 # There are various deprecated APIs for requesting calls, documented at
 # <http://telepathy.freedesktop.org/wiki/Requesting StreamedMedia channels>.
 # These are ordered from most recent to most deprecated.
-CREATE = 0
-REQUEST_ANONYMOUS = 1
-REQUEST_ANONYMOUS_AND_ADD = 2
-REQUEST_NONYMOUS = 3
+CREATE = 0 # CreateChannel({TargetHandleType: Contact, TargetHandle: h});
+           # RequestStreams()
+REQUEST_ANONYMOUS = 1 # RequestChannel(HandleTypeNone, 0); RequestStreams()
+REQUEST_ANONYMOUS_AND_ADD = 2 # RequestChannel(HandleTypeNone, 0);
+                              # AddMembers([h], ...); RequestStreams(h,...)
+REQUEST_NONYMOUS = 3 # RequestChannel(HandleTypeContact, h);
+                     # RequestStreams(h, ...)
 
 def create(jp, q, bus, conn, stream):
     worker(jp, q, bus, conn, stream, CREATE)
-- 
1.5.6.5



More information about the telepathy-commits mailing list