[Libreoffice-commits] online.git: wsd/DocumentBroker.hpp
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Sat Apr 18 07:54:37 UTC 2020
wsd/DocumentBroker.hpp | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
New commits:
commit 21dfba7db728c72d03e2d8009e595b60b6efa1c8
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Sat Apr 18 10:41:39 2020 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Sat Apr 18 10:41:39 2020 +0300
Clarify what a DocumentBroker is and in which process they exist
diff --git a/wsd/DocumentBroker.hpp b/wsd/DocumentBroker.hpp
index 42fc82bbb..6f37607f7 100644
--- a/wsd/DocumentBroker.hpp
+++ b/wsd/DocumentBroker.hpp
@@ -74,6 +74,7 @@ public:
WSProcess("ChildProcess", pid, socket, std::make_shared<WebSocketHandler>(socket, request)),
_jailId(jailId)
{
+ LOG_TRC("==> new ChildProcess");
}
@@ -92,10 +93,13 @@ private:
class ClientSession;
-/// DocumentBroker is responsible for setting up a document
-/// in jail and brokering loading it from Storage
-/// and saving it back.
+/// DocumentBroker is responsible for setting up a document in jail and brokering loading it from
+/// Storage and saving it back.
+
/// Contains URI, physical path, etc.
+
+/// There is one DocumentBroker object in the WSD process for each document that is open (in 1..n sessions).
+
class DocumentBroker : public std::enable_shared_from_this<DocumentBroker>
{
class DocumentBrokerPoll;
More information about the Libreoffice-commits
mailing list