summaryrefslogtreecommitdiff
path: root/python/qpid/client.py
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-02-09 17:51:35 +0000
committerGordon Sim <gsim@apache.org>2007-02-09 17:51:35 +0000
commit1ddbee45e8059e1eb64d94526a6abb8e396643ac (patch)
tree84dd7dace5ed686eaa5c82df34506cc7dbaa5b46 /python/qpid/client.py
parente754770e56a9ff0df5d5be73b04ed658cdbc5855 (diff)
downloadqpid-python-1ddbee45e8059e1eb64d94526a6abb8e396643ac.tar.gz
* qpid/client.py - added channel_pong handler to delegate
* tests/broker.py - simple ping/pong test * tests/queue.py - queue_unbind tests for all standard exchanges git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505388 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/client.py')
-rw-r--r--python/qpid/client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/qpid/client.py b/python/qpid/client.py
index a8412e5519..ed7dbca5d2 100644
--- a/python/qpid/client.py
+++ b/python/qpid/client.py
@@ -128,6 +128,9 @@ class ClientDelegate(Delegate):
def basic_deliver(self, ch, msg):
self.client.queue(msg.consumer_tag).put(msg)
+ def channel_pong(self, ch, msg):
+ msg.ok()
+
def channel_close(self, ch, msg):
ch.close(msg)