summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/broker/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/qpid/broker/Connection.h')
-rw-r--r--qpid/cpp/src/qpid/broker/Connection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/broker/Connection.h b/qpid/cpp/src/qpid/broker/Connection.h
index 6186c06a3c..855172bc43 100644
--- a/qpid/cpp/src/qpid/broker/Connection.h
+++ b/qpid/cpp/src/qpid/broker/Connection.h
@@ -165,6 +165,9 @@ class Connection : public sys::ConnectionInputHandler,
// Used by cluster during catch-up, see cluster::OutputInterceptor
void doIoCallbacks();
+ void setClientProperties(const framing::FieldTable& cp) { clientProperties = cp; }
+ const framing::FieldTable& getClientProperties() const { return clientProperties; }
+
private:
typedef boost::ptr_map<framing::ChannelId, SessionHandler> ChannelMap;
typedef std::vector<boost::shared_ptr<Queue> >::iterator queue_iterator;
@@ -186,6 +189,8 @@ class Connection : public sys::ConnectionInputHandler,
ErrorListener* errorListener;
uint64_t objectId;
bool shadow;
+ framing::FieldTable clientProperties;
+
/**
* Chained ConnectionOutputHandler that allows outgoing frames to be
* tracked (for updating mgmt stats).