summaryrefslogtreecommitdiff
path: root/cpp/src/tests/ConnectionOptions.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-01-13 19:08:29 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-01-13 19:08:29 +0000
commit5fec8f487c510e2309b3bc939fea70078a11af97 (patch)
treef875a150066a08094eba72856de99e471185a0aa /cpp/src/tests/ConnectionOptions.h
parent77bde150020c6c34130523f528d739c264aa12e3 (diff)
downloadqpid-python-5fec8f487c510e2309b3bc939fea70078a11af97.tar.gz
Send heartbeat from broker to client
- Server sends possible heartbeat range and client replies with desired heartbeat as part of the tune-tuneOk exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734220 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/ConnectionOptions.h')
-rw-r--r--cpp/src/tests/ConnectionOptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/ConnectionOptions.h b/cpp/src/tests/ConnectionOptions.h
index 30fe5ad9b1..cf86894235 100644
--- a/cpp/src/tests/ConnectionOptions.h
+++ b/cpp/src/tests/ConnectionOptions.h
@@ -44,6 +44,7 @@ struct ConnectionOptions : public qpid::Options,
("mechanism", optValue(mechanism, "MECH"), "SASL mechanism to use when authenticating.")
("locale", optValue(locale, "LOCALE"), "locale to use.")
("max-channels", optValue(maxChannels, "N"), "the maximum number of channels the client requires.")
+ ("heartbeat", optValue(heartbeat, "N"), "Desired heartbeat interval in seconds.")
("max-frame-size", optValue(maxFrameSize, "N"), "the maximum frame size to request.")
("bounds-multiplier", optValue(bounds, "N"),
"bound size of write queue (as a multiple of the max frame size).")