diff options
Diffstat (limited to 'cpp/src/qpid/broker/Broker.cpp')
-rw-r--r-- | cpp/src/qpid/broker/Broker.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/qpid/broker/Broker.cpp b/cpp/src/qpid/broker/Broker.cpp index 8b70831cf7..ddd5959343 100644 --- a/cpp/src/qpid/broker/Broker.cpp +++ b/cpp/src/qpid/broker/Broker.cpp @@ -286,19 +286,19 @@ Manageable::status_t Broker::ManagementMethod (uint32_t methodId, return status; } -sys::ConnectionInputHandler* Broker::connect( +void Broker::connect( const std::string& host, uint16_t port, - sys::ConnectionInputHandlerFactory* f) + sys::ConnectionCodec::Factory* f) { - return getAcceptor().connect(host, port, f ? f : &factory); + getAcceptor().connect(host, port, f ? f : &factory); } -sys::ConnectionInputHandler* Broker::connect( - const Url& url, sys::ConnectionInputHandlerFactory* f) +void Broker::connect( + const Url& url, sys::ConnectionCodec::Factory* f) { url.throwIfEmpty(); TcpAddress addr=boost::get<TcpAddress>(url[0]); - return connect(addr.host, addr.port, f); + connect(addr.host, addr.port, f); } }} // namespace qpid::broker |