diff options
Diffstat (limited to 'cpp/src/qpid/broker/Connection.cpp')
-rw-r--r-- | cpp/src/qpid/broker/Connection.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cpp/src/qpid/broker/Connection.cpp b/cpp/src/qpid/broker/Connection.cpp index 8be4f7756e..1e55087390 100644 --- a/cpp/src/qpid/broker/Connection.cpp +++ b/cpp/src/qpid/broker/Connection.cpp @@ -90,7 +90,9 @@ Connection::Connection(ConnectionOutputHandler* out_, Broker& broker_, const std adapter(*this), mgmtClosing(0), mgmtId(mgmtId_) -{} +{ + initMgmt(); +} void Connection::initMgmt(bool asLink) { @@ -134,12 +136,6 @@ void Connection::close( getOutput().close(); } -void Connection::initiated(const framing::ProtocolInitiation& header) { - version = ProtocolVersion(header.getMajor(), header.getMinor()); - adapter.init(header); - initMgmt(); -} - void Connection::idleOut(){} void Connection::idleIn(){} |