diff options
| author | Ted Ross <tross@apache.org> | 2009-12-11 13:52:48 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-12-11 13:52:48 +0000 |
| commit | fc7c0efc857cb6f6311bdf6bf6ddc30ff2048466 (patch) | |
| tree | d3b9733ded2a50b3adb39e34ae56e0e8d05a7801 /python/qpid | |
| parent | caaa1c00f62f11a1f046a7cf40583eedd2d873e3 (diff) | |
| download | qpid-python-fc7c0efc857cb6f6311bdf6bf6ddc30ff2048466.tar.gz | |
QPID-2245 QMF protocol changes will make 0.6 incompatible with 0.5
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889619 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid')
| -rw-r--r-- | python/qpid/management.py | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/python/qpid/management.py b/python/qpid/management.py index 65807548e6..325ab4903d 100644 --- a/python/qpid/management.py +++ b/python/qpid/management.py @@ -400,7 +400,7 @@ class managementClient: """ Compose the header of a management message. """ codec.write_uint8 (ord ('A')) codec.write_uint8 (ord ('M')) - codec.write_uint8 (ord ('3')) + codec.write_uint8 (ord ('2')) codec.write_uint8 (opcode) codec.write_uint32 (seq) @@ -414,7 +414,7 @@ class managementClient: if octet != 'M': return None octet = chr (codec.read_uint8 ()) - if octet != '3': + if octet != '2': return None opcode = chr (codec.read_uint8 ()) seq = codec.read_uint32 () @@ -496,16 +496,7 @@ class managementClient: elif typecode == 14: # UUID data = codec.read_uuid () elif typecode == 15: # FTABLE - data = {} - sc = Codec(codec.read_vbin32()) - if sc.encoded: - count = sc.read_uint32() - while count > 0: - k = sc.read_str8() - code = sc.read_uint8() - v = self.decodeValue(sc, code) - data[k] = v - count -= 1 + data = codec.read_map () elif typecode == 16: data = codec.read_int8 () elif typecode == 17: @@ -680,7 +671,7 @@ class managementClient: packageName = codec.read_str8 () className = codec.read_str8 () hash = codec.read_bin128 () - hasSupertype = codec.read_uint8() + hasSupertype = 0 #codec.read_uint8() configCount = codec.read_uint16 () instCount = codec.read_uint16 () methodCount = codec.read_uint16 () |
