summaryrefslogtreecommitdiff
path: root/python/qpid/delegates.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-03-07 20:22:18 +0000
committerRafael H. Schloming <rhs@apache.org>2008-03-07 20:22:18 +0000
commit9348ffddf9dbeb1029a91f0804a5f3b1e22f8821 (patch)
tree0526d5636f51483eccb437f1035a9d9a9e1f2670 /python/qpid/delegates.py
parent039d4461a0c1bb44731bbee6df58c0ee0c1673cf (diff)
downloadqpid-python-9348ffddf9dbeb1029a91f0804a5f3b1e22f8821.tar.gz
added support for maps
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/delegates.py')
-rw-r--r--python/qpid/delegates.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/python/qpid/delegates.py b/python/qpid/delegates.py
index a29d5c5265..d1f615a3fa 100644
--- a/python/qpid/delegates.py
+++ b/python/qpid/delegates.py
@@ -17,8 +17,7 @@
# under the License.
#
-import connection010
-import session
+import os, connection010, session
from util import notify
from datatypes import RangedSet
@@ -117,12 +116,16 @@ class Server(Delegate):
class Client(Delegate):
+ PROPERTIES = {"product": "qpid python client",
+ "version": "development",
+ "platform": os.name}
+
def start(self):
self.connection.write_header(self.spec.major, self.spec.minor)
self.connection.read_header()
def connection_start(self, ch, start):
- ch.connection_start_ok()
+ ch.connection_start_ok(client_properties=Client.PROPERTIES)
def connection_tune(self, ch, tune):
ch.connection_tune_ok()