BIND 10 #2378: define and implement datasrc::ZoneLoader class

BIND 10 Development do-not-reply at isc.org
Fri Oct 19 07:17:07 UTC 2012


#2378: define and implement datasrc::ZoneLoader class
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  data source   |  Tasks
           Sensitive:  0             |                     Keywords:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |  loadzone-ng
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 Subtask of #2368.  Depend on #2377.

 This corresponds to the loadZone() function(s) described in
 http://bind10.isc.org/wiki/ZoneLoadingAPIDesign
 but like #2377 I propose we use a class.  It would look like this:

 {{{#!cpp
 class datasrc::ZoneLoader {
 public:
     ZoneLoader(DataSourceClient& client, const Name& zone_name,
                const char* master_file);
     ZoneLoader(DataSourceClient& client, const Name& zone_name,
                DataSourceClient& src_client);

     void load();
     bool loadIncremental(size_t count_limit);
 };
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/2378>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list