Browse Source

[2207] Implementation of the getZoneReloader

The concrete version for local table segment and reloader.
Michal 'vorner' Vaner 12 years ago
parent
commit
d5569a62a3
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/lib/datasrc/memory/zone_table_segment_local.cc

+ 9 - 0
src/lib/datasrc/memory/zone_table_segment_local.cc

@@ -13,6 +13,7 @@
 // PERFORMANCE OF THIS SOFTWARE.
 
 #include <datasrc/memory/zone_table_segment_local.h>
+#include "zone_reloader.h"
 
 using namespace isc::util;
 
@@ -38,6 +39,14 @@ ZoneTableSegmentLocal::getMemorySegment() {
      return (mem_sgmt_);
 }
 
+ZoneReloader*
+ZoneTableSegmentLocal::getZoneReloader(const LoadAction& load_action,
+                                       const dns::Name& name,
+                                       const dns::RRClass& rrclass)
+{
+    return (new ZoneReloaderLocal(this, load_action, name, rrclass));
+}
+
 } // namespace memory
 } // namespace datasrc
 } // namespace isc