From e178b460ca36b830b4fd9957f556226e61b9747b Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 10 Jun 2013 19:46:43 +0000 Subject: QPID-4905: Tidy-up remove OutputHandler and directly use FrameHandler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1491580 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/ConnectionImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/client/ConnectionImpl.cpp') diff --git a/cpp/src/qpid/client/ConnectionImpl.cpp b/cpp/src/qpid/client/ConnectionImpl.cpp index 0abfbe09ec..dbb0a67d22 100644 --- a/cpp/src/qpid/client/ConnectionImpl.cpp +++ b/cpp/src/qpid/client/ConnectionImpl.cpp @@ -192,7 +192,7 @@ ConnectionImpl::ConnectionImpl(framing::ProtocolVersion v, const ConnectionSetti released(false) { handler.in = boost::bind(&ConnectionImpl::incoming, this, _1); - handler.out = boost::bind(&Connector::send, boost::ref(connector), _1); + handler.out = boost::bind(&Connector::handle, boost::ref(connector), _1); handler.onClose = boost::bind(&ConnectionImpl::closed, this, CLOSE_CODE_NORMAL, std::string()); //only set error handler once open @@ -312,7 +312,7 @@ void ConnectionImpl::idleIn() void ConnectionImpl::idleOut() { AMQFrame frame((AMQHeartbeatBody())); - connector->send(frame); + connector->handle(frame); } void ConnectionImpl::close() -- cgit v1.2.1