summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/MessageHandlerImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/MessageHandlerImpl.h')
-rw-r--r--cpp/src/qpid/broker/MessageHandlerImpl.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/cpp/src/qpid/broker/MessageHandlerImpl.h b/cpp/src/qpid/broker/MessageHandlerImpl.h
index 20cae46da4..f4d9fa0c76 100644
--- a/cpp/src/qpid/broker/MessageHandlerImpl.h
+++ b/cpp/src/qpid/broker/MessageHandlerImpl.h
@@ -49,14 +49,6 @@ class MessageHandlerImpl :
void close(const std::string& reference );
- void consume(uint16_t ticket,
- const std::string& queue,
- const std::string& destination,
- bool noLocal,
- bool noAck,
- bool exclusive,
- const framing::FieldTable& filter );
-
void empty();
void get(uint16_t ticket,
@@ -76,8 +68,9 @@ class MessageHandlerImpl :
void recover(bool requeue );
- void reject(uint16_t code,
- const std::string& text );
+ void reject(const framing::SequenceNumberSet& transfers,
+ uint16_t code,
+ const std::string& text );
void resume(const std::string& reference,
const std::string& identifier );
@@ -92,6 +85,19 @@ class MessageHandlerImpl :
void stop(const std::string& destination);
+ void acquire(const framing::SequenceNumberSet& transfers, u_int8_t mode);
+
+ void release(const framing::SequenceNumberSet& transfers);
+
+ void subscribe(u_int16_t ticket,
+ const string& queue,
+ const string& destination,
+ bool noLocal,
+ u_int8_t confirmMode,
+ u_int8_t acquireMode,
+ bool exclusive,
+ const framing::FieldTable& filter);
+
private:
ReferenceRegistry references;
};