diff options
Diffstat (limited to 'cpp/src/qpid/broker/MessageAdapter.h')
| -rw-r--r-- | cpp/src/qpid/broker/MessageAdapter.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/cpp/src/qpid/broker/MessageAdapter.h b/cpp/src/qpid/broker/MessageAdapter.h index e8337ec649..ef316edacb 100644 --- a/cpp/src/qpid/broker/MessageAdapter.h +++ b/cpp/src/qpid/broker/MessageAdapter.h @@ -24,7 +24,6 @@ #include <string> #include "qpid/framing/BasicPublishBody.h" -#include "qpid/framing/BasicHeaderProperties.h" #include "qpid/framing/FieldTable.h" #include "qpid/framing/FrameSet.h" #include "qpid/framing/DeliveryProperties.h" @@ -34,6 +33,7 @@ namespace qpid { namespace broker { +// FIXME aconway 2007-11-09: No longer needed, we only have one type of message. struct MessageAdapter { virtual ~MessageAdapter() {} @@ -45,15 +45,6 @@ struct MessageAdapter virtual bool isPersistent(const framing::FrameSet& f) = 0; }; -struct PublishAdapter : MessageAdapter -{ - std::string getRoutingKey(const framing::FrameSet& f); - std::string getExchange(const framing::FrameSet& f); - bool isImmediate(const framing::FrameSet& f); - const framing::FieldTable* getApplicationHeaders(const framing::FrameSet& f); - bool isPersistent(const framing::FrameSet& f); -}; - struct TransferAdapter : MessageAdapter { std::string getRoutingKey(const framing::FrameSet& f); |
