summaryrefslogtreecommitdiffhomepage
path: root/connectionregistry.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-02-12 11:54:05 +0100
committerRoland Reichwein <mail@reichwein.it>2023-02-12 11:54:05 +0100
commitb0f8b28977e59b7fbfc1ce57ee5c102b8e4e0690 (patch)
tree926eb8dbd140d84ab0238ce7d671673056f12f56 /connectionregistry.cpp
parent7d5ca5cebfe3453aaa3c649bbc3e771e6d636ac9 (diff)
Touch documents on read (i.e. reset timeout on read)
Diffstat (limited to 'connectionregistry.cpp')
-rw-r--r--connectionregistry.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/connectionregistry.cpp b/connectionregistry.cpp
index 412472d..e3c0c11 100644
--- a/connectionregistry.cpp
+++ b/connectionregistry.cpp
@@ -61,6 +61,16 @@ std::unordered_set<ConnectionRegistry::connection>::iterator ConnectionRegistry:
return m_ids.at(id).end();
}
+std::unordered_map<ConnectionRegistry::connection, std::string>::iterator ConnectionRegistry::begin()
+{
+ return m_connections.begin();
+}
+
+std::unordered_map<ConnectionRegistry::connection, std::string>::iterator ConnectionRegistry::end()
+{
+ return m_connections.end();
+}
+
void ConnectionRegistry::dump() const
{
std::cout << "Connection Registry:" << std::endl;