summaryrefslogtreecommitdiff
path: root/python/hello-010-world
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-03-07 16:57:43 +0000
committerRafael H. Schloming <rhs@apache.org>2008-03-07 16:57:43 +0000
commit205ae0e54ba0c5fdeb5d2e884997c80cb52f1799 (patch)
treecc85d43a8e09cb15111290f9302c4c6188c0784c /python/hello-010-world
parente385ba8c6612ac396a4d9ecbd5c8ffa18977e25a (diff)
downloadqpid-python-205ae0e54ba0c5fdeb5d2e884997c80cb52f1799.tar.gz
added session.sync(); session.auto_sync; made transfers not auto-complete; fixed bug in RangedSet
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634744 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/hello-010-world')
-rwxr-xr-xpython/hello-010-world6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/hello-010-world b/python/hello-010-world
index 8c98170873..83e7c87675 100755
--- a/python/hello-010-world
+++ b/python/hello-010-world
@@ -38,6 +38,12 @@ print m3
m4 = ssn.incoming("test").get(timeout=10)
print m4
+print ssn.sender._completed, ssn.sender.next_id
+ssn.sync(10)
+print ssn.sender.segments
+
+ssn.channel.session_flush(completed=True)
+
ssn.message_accept(RangedSet(m1.id, m2.id, m3.id, m4.id))
print ssn.queue_query("testing")