diff options
| author | Gordon Sim <gsim@apache.org> | 2008-03-04 20:42:19 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-03-04 20:42:19 +0000 |
| commit | d47950ff7a88e4684d1e07e334e705776ed569a7 (patch) | |
| tree | 23f00efd6c9009f158c0b9643746dd16fd8adbf6 /cpp/src/qpid/broker/MessageAdapter.h | |
| parent | cf9a1617599bb680deef2bab76fc6022f7dad50b (diff) | |
| download | qpid-python-d47950ff7a88e4684d1e07e334e705776ed569a7.tar.gz | |
Further updates to support final 0-10 spec
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633627 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/MessageAdapter.h')
| -rw-r--r-- | cpp/src/qpid/broker/MessageAdapter.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/MessageAdapter.h b/cpp/src/qpid/broker/MessageAdapter.h index 3220f304cc..de488b295e 100644 --- a/cpp/src/qpid/broker/MessageAdapter.h +++ b/cpp/src/qpid/broker/MessageAdapter.h @@ -29,6 +29,7 @@ #include "qpid/framing/DeliveryProperties.h" #include "qpid/framing/MessageProperties.h" #include "qpid/framing/MessageTransferBody.h" +#include "qpid/framing/Message010TransferBody.h" namespace qpid { namespace broker { @@ -48,12 +49,17 @@ struct MessageAdapter struct TransferAdapter : MessageAdapter { std::string getRoutingKey(const framing::FrameSet& f); - std::string getExchange(const framing::FrameSet& f); + virtual std::string getExchange(const framing::FrameSet& f); bool isImmediate(const framing::FrameSet&); const framing::FieldTable* getApplicationHeaders(const framing::FrameSet& f); bool isPersistent(const framing::FrameSet& f); }; +struct PreviewAdapter : TransferAdapter +{ + std::string getExchange(const framing::FrameSet& f); +}; + }} |
