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