From 558e92d6c9cf8dfb875c1250ab8fe1cefaf30b05 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Sun, 21 Sep 2008 05:04:04 +0000 Subject: DumpClient send connections & session IDs to new members. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697446 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Connection.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/src/qpid/broker/Connection.cpp') diff --git a/cpp/src/qpid/broker/Connection.cpp b/cpp/src/qpid/broker/Connection.cpp index ac4ec81cb9..17f58adc78 100644 --- a/cpp/src/qpid/broker/Connection.cpp +++ b/cpp/src/qpid/broker/Connection.cpp @@ -165,6 +165,12 @@ void Connection::close( getOutput().close(); } +// Send a close to the client but keep the channels. Used by cluster. +void Connection::sendClose() { + adapter.close(200, "OK", 0, 0); + getOutput().close(); +} + void Connection::idleOut(){} void Connection::idleIn(){} -- cgit v1.2.1