From 36ba8e177e519974296ff368544fc994896497c6 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 5 Feb 2016 17:06:01 +0100 Subject: Docs --- common/facade.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common') diff --git a/common/facade.cpp b/common/facade.cpp index 95fecd9..540c364 100644 --- a/common/facade.cpp +++ b/common/facade.cpp @@ -32,6 +32,11 @@ using namespace Sink; #undef DEBUG_AREA #define DEBUG_AREA "client.facade" +/** + * A factory for resource access instances that caches the instance for some time. + * + * This avoids constantly recreating connections, and should allow a single process to have one connection per resource. + */ class ResourceAccessFactory { public: static ResourceAccessFactory &instance() -- cgit v1.2.3