aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-repository-root
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-repository-root')
-rw-r--r--mod/mod-repository-root9
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/mod-repository-root b/mod/mod-repository-root
index e028fb8..57db93a 100644
--- a/mod/mod-repository-root
+++ b/mod/mod-repository-root
@@ -23,6 +23,8 @@ namespace brep
public:
repository_root ();
+ // Copy constructible-only type.
+ //
// Create a shallow copy (handling instance) if initialized and a deep
// copy (context exemplar) otherwise.
//
@@ -54,6 +56,13 @@ namespace brep
shared_ptr<package_version_details> package_version_details_;
shared_ptr<repository_details> repository_details_;
shared_ptr<options::repository_root> options_;
+
+ // Sub-module the request is dispatched to. Initially is NULL. It is set
+ // by the first call to handle() to a deep copy of the selected exemplar.
+ // The subsequent calls of handle() (that may take place after the retry
+ // exception is thrown) will use the existing handler instance.
+ //
+ unique_ptr<module> handler_;
};
}