diff options
author | Gordon Sim <gsim@apache.org> | 2008-04-22 12:05:52 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-04-22 12:05:52 +0000 |
commit | 61959e29ee69f9cebb61b845272eededaec6f11e (patch) | |
tree | 2900fad5b05b665219197e2cbd6c7254b476d09e /cpp/src/qpid/broker/Consumer.h | |
parent | 2b8e82875776feb8393c7791975acc9cf9fdb5e1 (diff) | |
download | qpid-python-61959e29ee69f9cebb61b845272eededaec6f11e.tar.gz |
QPID-944: do no-local checking where requested when there is an exclusive subscription active
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650450 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Consumer.h')
-rw-r--r-- | cpp/src/qpid/broker/Consumer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Consumer.h b/cpp/src/qpid/broker/Consumer.h index 00eb41a428..4274ce823e 100644 --- a/cpp/src/qpid/broker/Consumer.h +++ b/cpp/src/qpid/broker/Consumer.h @@ -27,6 +27,7 @@ namespace qpid { }} #include "Message.h" +#include "OwnershipToken.h" namespace qpid { namespace broker { @@ -56,6 +57,7 @@ namespace qpid { virtual void notify() = 0; virtual bool filter(boost::intrusive_ptr<Message>) { return true; } virtual bool accept(boost::intrusive_ptr<Message>) { return true; } + virtual OwnershipToken* getSession() = 0; virtual ~Consumer(){} }; } |