summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.h')
-rw-r--r--cpp/src/qpid/cluster/Connection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Connection.h b/cpp/src/qpid/cluster/Connection.h
index 70c4d0e2a3..45d832a5ff 100644
--- a/cpp/src/qpid/cluster/Connection.h
+++ b/cpp/src/qpid/cluster/Connection.h
@@ -75,7 +75,8 @@ class Connection :
~Connection();
ConnectionId getId() const { return self; }
- broker::Connection& getBrokerConnection() { return *connection; }
+ broker::Connection* getBrokerConnection() { return connection.get(); }
+ const broker::Connection* getBrokerConnection() const { return connection.get(); }
/** Local connections may be clients or catch-up connections */
bool isLocal() const;
@@ -167,6 +168,7 @@ class Connection :
void announce(const std::string& mgmtId, uint32_t ssf, const std::string& authid,
bool nodict, const std::string& username,
const std::string& initFrames);
+ void close();
void abort();
void deliverClose();
@@ -227,6 +229,7 @@ class Connection :
broker::SessionState& sessionState();
broker::SemanticState& semanticState();
broker::QueuedMessage getUpdateMessage();
+ void closeUpdated();
Cluster& cluster;
ConnectionId self;