diff options
| author | Gordon Sim <gsim@apache.org> | 2007-10-04 16:06:05 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-10-04 16:06:05 +0000 |
| commit | 03f1df9ff7894a6d910120c82bba49e6193178ee (patch) | |
| tree | e27792701ea80e1aa83d1c5730da71502374d25d /cpp/src/qpid/broker/SemanticHandler.h | |
| parent | c848c1a4e6be50176f10170c6422c5e4d5385770 (diff) | |
| download | qpid-python-03f1df9ff7894a6d910120c82bba49e6193178ee.tar.gz | |
Additional tests and fixes
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@581957 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SemanticHandler.h')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticHandler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/SemanticHandler.h b/cpp/src/qpid/broker/SemanticHandler.h index dc7f21ac34..9380708ec5 100644 --- a/cpp/src/qpid/broker/SemanticHandler.h +++ b/cpp/src/qpid/broker/SemanticHandler.h @@ -33,6 +33,8 @@ #include "qpid/framing/FrameHandler.h" #include "qpid/framing/SequenceNumber.h" +#include <boost/function.hpp> + namespace qpid { namespace framing { @@ -51,6 +53,8 @@ class SemanticHandler : public DeliveryAdapter, public framing::AMQP_ServerOperations::ExecutionHandler { + typedef boost::function<void(DeliveryId, DeliveryId)> RangedOperation; + SemanticState state; SessionState& session; // FIXME aconway 2007-09-20: Why are these on the handler rather than the @@ -59,6 +63,7 @@ class SemanticHandler : public DeliveryAdapter, framing::Window outgoing; sys::Mutex outLock; MessageBuilder msgBuilder; + RangedOperation ackOp; enum TrackId {EXECUTION_CONTROL_TRACK, MODEL_COMMAND_TRACK, MODEL_CONTENT_TRACK}; TrackId getTrack(const framing::AMQFrame& frame); |
