diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2013-06-10 19:46:43 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2013-06-10 19:46:43 +0000 |
| commit | e178b460ca36b830b4fd9957f556226e61b9747b (patch) | |
| tree | fca5ae058bd2090e7d9ae691eb6bbb662eda23d2 /cpp/src/qpid/client/ConnectionImpl.cpp | |
| parent | 8bb04cee8094c1956107435081089b1e2e13688d (diff) | |
| download | qpid-python-e178b460ca36b830b4fd9957f556226e61b9747b.tar.gz | |
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
Diffstat (limited to 'cpp/src/qpid/client/ConnectionImpl.cpp')
| -rw-r--r-- | cpp/src/qpid/client/ConnectionImpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() |
