summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/ConnectionMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/ConnectionMap.h')
-rw-r--r--cpp/src/qpid/cluster/ConnectionMap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/ConnectionMap.h b/cpp/src/qpid/cluster/ConnectionMap.h
index c5437eb84a..f8aa663339 100644
--- a/cpp/src/qpid/cluster/ConnectionMap.h
+++ b/cpp/src/qpid/cluster/ConnectionMap.h
@@ -60,6 +60,9 @@ class ConnectionMap {
*/
ConnectionPtr get(const ConnectionId& id);
+ /** If ID is a local connection and in the map return it, else return 0 */
+ ConnectionPtr getLocal(const ConnectionId& id);
+
/** Get connections for sending an update. */
Vector values() const;