summaryrefslogtreecommitdiff
path: root/cpp/lib/common/framing/MethodContext.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-01-30 18:20:00 +0000
committerAlan Conway <aconway@apache.org>2007-01-30 18:20:00 +0000
commit98ccae7574a18f8d0a1f9e28e86ccfde4541c81f (patch)
tree528fe0c686b9193e66bdd222d0aee6c4705f34e7 /cpp/lib/common/framing/MethodContext.h
parent53d097bd7e565d08f902671180be58d4b2a9d843 (diff)
downloadqpid-python-98ccae7574a18f8d0a1f9e28e86ccfde4541c81f.tar.gz
* client/* framing/*: fixed client-side request ID processing.
* cpp/tests/InProcessBroker.h: For tests: connect to an in-process broker directly, bypass the network. Keeps log of client/broker conversation for verification in test code. * cpp/tests/FramingTest.cpp (testRequestResponseRoundtrip): Client/broker round-trip test for request/reponse IDs and response mark. * APRAcceptor.cpp (APRAcceptor): fixed valgrind uninitialized error. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501502 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/common/framing/MethodContext.h')
-rw-r--r--cpp/lib/common/framing/MethodContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/lib/common/framing/MethodContext.h b/cpp/lib/common/framing/MethodContext.h
index 1aa4be8f1e..46d2e064b5 100644
--- a/cpp/lib/common/framing/MethodContext.h
+++ b/cpp/lib/common/framing/MethodContext.h
@@ -50,7 +50,7 @@ struct MethodContext
: channelId(channel), out(output), requestId(request){}
/** \internal Channel on which the method is sent. */
- const ChannelId channelId;
+ ChannelId channelId;
/** Output handler for responses in this context */
OutputHandler* out;
@@ -58,7 +58,7 @@ struct MethodContext
/** \internal If we are in the context of processing an incoming request,
* this is the ID. Otherwise it is 0.
*/
- const RequestId requestId;
+ RequestId requestId;
};