summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib/broker/Connection.h')
-rw-r--r--cpp/lib/broker/Connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/lib/broker/Connection.h b/cpp/lib/broker/Connection.h
index e3d5156c9b..4f1156dd01 100644
--- a/cpp/lib/broker/Connection.h
+++ b/cpp/lib/broker/Connection.h
@@ -86,6 +86,7 @@ class Connection : public sys::ConnectionInputHandler,
Channel& newChannel(framing::ChannelId channel);
Channel& getChannel(framing::ChannelId channel);
void closeChannel(framing::ChannelId channel);
+ void close(framing::ReplyCode code, const string& text, framing::ClassId classId, framing::MethodId methodId);
private:
typedef boost::ptr_map<framing::ChannelId, Channel> ChannelMap;