diff options
Diffstat (limited to 'cpp/src/qpid/broker/ConnectionFactory.h')
-rw-r--r-- | cpp/src/qpid/broker/ConnectionFactory.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/cpp/src/qpid/broker/ConnectionFactory.h b/cpp/src/qpid/broker/ConnectionFactory.h index 53fb160279..5797495054 100644 --- a/cpp/src/qpid/broker/ConnectionFactory.h +++ b/cpp/src/qpid/broker/ConnectionFactory.h @@ -21,22 +21,24 @@ #ifndef _ConnectionFactory_ #define _ConnectionFactory_ -#include "qpid/sys/ConnectionInputHandlerFactory.h" +#include "qpid/sys/ConnectionCodec.h" namespace qpid { namespace broker { class Broker; -class ConnectionFactory : public qpid::sys::ConnectionInputHandlerFactory -{ +class ConnectionFactory : public sys::ConnectionCodec::Factory { public: ConnectionFactory(Broker& b); - virtual qpid::sys::ConnectionInputHandler* - create(qpid::sys::ConnectionOutputHandler* out, const std::string& id); - virtual ~ConnectionFactory(); + sys::ConnectionCodec* + create(framing::ProtocolVersion, sys::OutputControl&, const std::string& id); + + sys::ConnectionCodec* + create(sys::OutputControl&, const std::string& id); + private: Broker& broker; }; |