From 234145cade9c0a291bdc6e52981054d045572f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanislav=20Angelovi=C4=8D?= Date: Mon, 6 Aug 2018 22:52:38 +0200 Subject: [PATCH] Clarify proxy and connection stuff in case of ProxyInterfaces --- doc/using-sdbus-c++.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/using-sdbus-c++.md b/doc/using-sdbus-c++.md index a214fec..b5d6da2 100644 --- a/doc/using-sdbus-c++.md +++ b/doc/using-sdbus-c++.md @@ -630,6 +630,8 @@ protected: }; ``` +In the above example, a proxy is created that creates and maintains its own system bus connection. However, there are `ProxyInterfaces` class template constructor overloads that also take the connection from the user as the first parameter, and pass that connection over to the underlying proxy. The connection instance is used for all D-Bus proxy interfaces listed in the `ProxyInterfaces` template parameter list. + Now let's use this proxy to make remote calls and listen to signals in a real application. ```cpp