]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2207] Update docs of ZoneWriterLocal
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 17 Oct 2012 10:23:33 +0000 (12:23 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 17 Oct 2012 10:23:33 +0000 (12:23 +0200)
They were outdated, for previous version of the interface.

src/lib/datasrc/memory/zone_writer_local.h

index 6a920567725ba170e3bc1d7f9d928d93bf31112c..10101f437d602f2ea8a1471130bf20df20e0b66f 100644 (file)
@@ -49,10 +49,9 @@ public:
 
     /// \brief Loads the data.
     ///
-    /// This prepares an empty ZoneData and calls load_action (passed to
-    /// constructor) to fill it with data.
+    /// This calls the load_action (passed to constructor) and stores the
+    /// data for future use.
     ///
-    /// \throw std::bad_alloc If there's a problem allocating the ZoneData.
     /// \throw isc::Unexpected if it is called the second time in lifetime
     ///     of the object.
     /// \throw Whatever the load_action throws, it is propagated up.
@@ -60,7 +59,8 @@ public:
 
     /// \brief Installs the zone.
     ///
-    /// This simply calls the install_action.
+    /// It modifies the zone table accessible through the segment (passed to
+    /// constructor).
     ///
     /// \throw isc::Unexpected if it is called the second time in lifetime
     ///     of the object or if load() was not called previously or if