summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Connection.h
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-06-02 16:01:51 +0000
committerTed Ross <tross@apache.org>2008-06-02 16:01:51 +0000
commit40c8b6f844ce64fc4245e5f91e6b1eaea2fc9e94 (patch)
tree80438fbfb8739e9189fdad70d8271ae2ca8d26f4 /cpp/src/qpid/broker/Connection.h
parente1c0b830b67e68be71e65ef18657e746ed6b971f (diff)
downloadqpid-python-40c8b6f844ce64fc4245e5f91e6b1eaea2fc9e94.tar.gz
QPID-1113 Management cleanup and performance enhancements
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Connection.h')
-rw-r--r--cpp/src/qpid/broker/Connection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Connection.h b/cpp/src/qpid/broker/Connection.h
index e6e3d4d15e..9e713140dd 100644
--- a/cpp/src/qpid/broker/Connection.h
+++ b/cpp/src/qpid/broker/Connection.h
@@ -42,7 +42,7 @@
#include "ConnectionState.h"
#include "SessionHandler.h"
#include "qpid/management/Manageable.h"
-#include "qpid/management/Client.h"
+#include "qpid/management/Connection.h"
#include <boost/ptr_container/ptr_map.hpp>
@@ -88,6 +88,7 @@ class Connection : public sys::ConnectionInputHandler,
std::string getAuthMechanism();
std::string getAuthCredentials();
void notifyConnectionForced(const std::string& text);
+ void setUserId(const string& uid);
private:
typedef boost::ptr_map<framing::ChannelId, SessionHandler> ChannelMap;
@@ -100,7 +101,7 @@ class Connection : public sys::ConnectionInputHandler,
bool mgmtClosing;
const std::string mgmtId;
boost::function0<void> ioCallback;
- management::Client::shared_ptr mgmtObject;
+ management::Connection::shared_ptr mgmtObject;
LinkRegistry& links;
};