summaryrefslogtreecommitdiff
path: root/python/qpid/client.py
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-09-21 10:39:36 +0000
committerGordon Sim <gsim@apache.org>2007-09-21 10:39:36 +0000
commit03cd19556c261f43a8d95bd7d803c59bd488aeef (patch)
treec589afb8a7d83dc44c445fc44df7850d0bf01ae4 /python/qpid/client.py
parent75d71dd695da1612d8ff6768a1a4b8082b2d2d65 (diff)
downloadqpid-python-03cd19556c261f43a8d95bd7d803c59bd488aeef.tar.gz
Use octet each for class and method id (changed c++ and python)
Modified indexes in xml for message.empty, message.offset and the c++ cluster class Fixed encoding for rfc1982-long-set in c++ and python (its a size not a count that is prepended) Fixed minor typo in configuration option help string Use session.open/close in python tests, handle session.closed Commented out the response tag in session.close due to pythons ambiguity as to whether session.closed is a response or not Disabled broker.test_closed_channel (due to above issue); broker behaves as expected but test fails; test_invalid_channel is safe enough for now. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@578053 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 5734873c6f..f0d7935283 100644
--- a/python/qpid/client.py
+++ b/python/qpid/client.py
@@ -138,6 +138,9 @@ class ClientDelegate(Delegate):
def channel_close(self, ch, msg):
ch.close(msg)
+ def session_closed(self, ch, msg):
+ ch.close(msg)
+
def connection_close(self, ch, msg):
self.client.peer.close(msg)