summaryrefslogtreecommitdiff
path: root/qpid/cpp/xml
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-04-01 16:32:10 +0000
committerGordon Sim <gsim@apache.org>2008-04-01 16:32:10 +0000
commitaa6c292b43a5aaffc431688bec19617a8f385229 (patch)
tree2d031b5d7ec2c299491c0a7b260dfc35f29a5126 /qpid/cpp/xml
parentd376cf7c6d58f27aa38f4f986e87f9579816e255 (diff)
downloadqpid-python-aa6c292b43a5aaffc431688bec19617a8f385229.tar.gz
Fix some erroneous definitions in the transitional xml fragment for 0-10.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@643472 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/xml')
-rw-r--r--qpid/cpp/xml/extra.xml26
1 files changed, 4 insertions, 22 deletions
diff --git a/qpid/cpp/xml/extra.xml b/qpid/cpp/xml/extra.xml
index 512563b454..3904c0f534 100644
--- a/qpid/cpp/xml/extra.xml
+++ b/qpid/cpp/xml/extra.xml
@@ -173,7 +173,7 @@
</doc>
</field>
- <field name="frame-max" domain="long" label="proposed maximum frame size">
+ <field name="frame-max" domain="short" label="proposed maximum frame size">
<doc>
The largest frame size that the server proposes for the connection. The client can
negotiate a lower value. Zero means that the server does not impose any specific limit but
@@ -193,26 +193,8 @@
</rule>
</field>
- <field name="heartbeat" domain="short" label="desired heartbeat delay">
- <!-- TODO 0.82 - the heartbeat negotiation mechanism was changed during implementation
- because the model documented here does not actually work properly. The best model we
- found is that the server proposes a heartbeat value to the client; the client can reply
- with zero, meaning 'do not use heartbeats (as documented here), or can propose its own
- heartbeat value, which the server should then accept. This is different from the model
- here which is disconnected - e.g. each side requests a heartbeat independently. Basically
- a connection is heartbeated in both ways, or not at all, depending on whether both peers
- support heartbeating or not, and the heartbeat value should itself be chosen by the client
- so that remote links can get a higher value. Also, the actual heartbeat mechanism needs
- documentation, and is as follows: so long as there is activity on a connection - in or out
- - both peers assume the connection is active. When there is no activity, each peer must
- send heartbeat frames. When no heartbeat frame is received after N cycles (where N is at
- least 2), the connection can be considered to have died. /PH 2006/07/19
- -->
- <doc>
- The delay, in seconds, of the connection heartbeat that the server wants. Zero means the
- server does not want a heartbeat.
- </doc>
- </field>
+ <field name="heartbeat-min" domain="short" label="desired heartbeat delay"/>
+ <field name="heartbeat-max" domain="short" label="desired heartbeat delay"/>
</method>
<!-- - Method: connection.tune-ok - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
@@ -243,7 +225,7 @@
<assert check="le" value="channel-max" />
</field>
- <field name="frame-max" domain="long" label="negotiated maximum frame size">
+ <field name="frame-max" domain="short" label="negotiated maximum frame size">
<doc>
The largest frame size that the client and server will use for the connection. Zero means
that the client does not impose any specific limit but may reject very large frames if it