BIND 10 trac2862, updated. 4cabcf45b17534ae0b114acf45bb73c369ba45d3 [2862] Define command to pass the segment info

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jul 9 13:45:03 UTC 2013


The branch, trac2862 has been updated
       via  4cabcf45b17534ae0b114acf45bb73c369ba45d3 (commit)
      from  6321090617d7c3eff5a76d4b701e6d4a969ecfa5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4cabcf45b17534ae0b114acf45bb73c369ba45d3
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Tue Jul 9 15:44:44 2013 +0200

    [2862] Define command to pass the segment info

-----------------------------------------------------------------------

Summary of changes:
 src/bin/auth/datasrc_clients_mgr.h |    8 ++++++++
 1 file changed, 8 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/datasrc_clients_mgr.h b/src/bin/auth/datasrc_clients_mgr.h
index 4ee0624..1d1c3e9 100644
--- a/src/bin/auth/datasrc_clients_mgr.h
+++ b/src/bin/auth/datasrc_clients_mgr.h
@@ -81,6 +81,7 @@ enum CommandID {
     LOADZONE,     ///< Load a new version of zone into a memory,
                   ///  the argument to the command is a map containing 'class'
                   ///  and 'origin' elements, both should have been validated.
+    SEGMENT_INFO_UPDATE, ///< The memory manager sent an update about segments.
     SHUTDOWN,     ///< Shutdown the builder; no argument
     NUM_COMMANDS
 };
@@ -581,6 +582,10 @@ private:
         }
     }
 
+    void doSegmentUpdate(const isc::data::ConstElementPtr& arg) {
+        (void) arg;
+    }
+
     void doLoadZone(const isc::data::ConstElementPtr& arg);
     boost::shared_ptr<datasrc::memory::ZoneWriter> getZoneWriter(
         datasrc::ConfigurableClientList& client_list,
@@ -691,6 +696,9 @@ DataSrcClientsBuilderBase<MutexType, CondVarType>::handleCommand(
     case LOADZONE:
         doLoadZone(command.params);
         break;
+    case SEGMENT_INFO_UPDATE:
+        doSegmentUpdate(command.params);
+        break;
     case SHUTDOWN:
         return (false);
     case NOOP:



More information about the bind10-changes mailing list