diff options
Diffstat (limited to 'cpp/src/qpid/broker/SemanticHandler.h')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticHandler.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/cpp/src/qpid/broker/SemanticHandler.h b/cpp/src/qpid/broker/SemanticHandler.h index 016c94738d..6748da8500 100644 --- a/cpp/src/qpid/broker/SemanticHandler.h +++ b/cpp/src/qpid/broker/SemanticHandler.h @@ -31,6 +31,14 @@ #include "qpid/framing/SequenceNumber.h" namespace qpid { + +namespace framing { +class AMQMethodBody; +class AMQHeaderBody; +class AMQContentBody; +class AMQHeaderBody; +} + namespace broker { class BrokerAdapter; @@ -48,16 +56,16 @@ class SemanticHandler : private framing::ChannelAdapter, framing::Window outgoing; sys::Mutex outLock; - void handleL4(boost::shared_ptr<qpid::framing::AMQMethodBody> method); + void handleL4(framing::AMQMethodBody* method); //ChannelAdapter virtual methods: - void handleMethod(boost::shared_ptr<qpid::framing::AMQMethodBody> method); + void handleMethod(framing::AMQMethodBody* method); bool isOpen() const; - void handleHeader(boost::shared_ptr<qpid::framing::AMQHeaderBody>); - void handleContent(boost::shared_ptr<qpid::framing::AMQContentBody>); - void handleHeartbeat(boost::shared_ptr<qpid::framing::AMQHeartbeatBody>); + void handleHeader(framing::AMQHeaderBody*); + void handleContent(framing::AMQContentBody*); + void handleHeartbeat(framing::AMQHeartbeatBody*); - void send(shared_ptr<framing::AMQBody> body); + void send(const framing::AMQBody& body); //delivery adapter methods: |
