summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/client/Connection.h
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2006-12-20 22:29:38 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2006-12-20 22:29:38 +0000
commit47081948f3e2d930c2564e5a2fad5ad3012659ac (patch)
treed71ec6e1b86b377c01260e4ebc9c8fd2bafd4d1d /qpid/cpp/lib/client/Connection.h
parent7b53aee0497f9a0479856c1a1f0e186961f6b6c7 (diff)
downloadqpid-python-47081948f3e2d930c2564e5a2fad5ad3012659ac.tar.gz
Support for multi version, merge part 1. - can still refactor out dup use of
version object in client and server opperations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@489212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/client/Connection.h')
-rw-r--r--qpid/cpp/lib/client/Connection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/cpp/lib/client/Connection.h b/qpid/cpp/lib/client/Connection.h
index 7d3f1a1446..3de9b6bf31 100644
--- a/qpid/cpp/lib/client/Connection.h
+++ b/qpid/cpp/lib/client/Connection.h
@@ -38,6 +38,7 @@
#include <ResponseHandler.h>
namespace qpid {
+
/**
* The client namespace contains all classes that make up a client
* implementation of the AMQP protocol. The key classes that form
@@ -93,6 +94,8 @@ namespace client {
* Creates a connection object, but does not open the
* connection.
*
+ * @param _version the version of the protocol to connect with
+ *
* @param debug turns on tracing for the connection
* (i.e. prints details of the frames sent and received to std
* out). Optional and defaults to false.
@@ -100,7 +103,8 @@ namespace client {
* @param max_frame_size the maximum frame size that the
* client will accept. Optional and defaults to 65536.
*/
- Connection(bool debug = false, u_int32_t max_frame_size = 65536);
+ Connection( bool debug = false, u_int32_t max_frame_size = 65536,
+ qpid::framing::ProtocolVersion* _version = &(qpid::framing::highestVersion));
~Connection();
/**