BIND 10 trac2376, updated. 4ebfb41753e3c3489848dea372be3306c9e9e7a5 [2384] Virtual destructor for MasterLoaderContextBase

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Nov 9 14:32:06 UTC 2012


The branch, trac2376 has been updated
       via  4ebfb41753e3c3489848dea372be3306c9e9e7a5 (commit)
       via  36b460d86bde70ce231c12cf24fd62e9782b1cd1 (commit)
      from  7dea7ef92cbc398d2cd395d45baf2eec48f5caaa (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 4ebfb41753e3c3489848dea372be3306c9e9e7a5
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Fri Nov 9 15:31:33 2012 +0100

    [2384] Virtual destructor for MasterLoaderContextBase
    
    It is an abstract class, it needs to have virtual destructor.

commit 36b460d86bde70ce231c12cf24fd62e9782b1cd1
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Fri Nov 9 15:29:14 2012 +0100

    [2384] Documentation update

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

Summary of changes:
 src/lib/dns/master_loader.h |    8 ++++++++
 1 file changed, 8 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/master_loader.h b/src/lib/dns/master_loader.h
index 444b325..ba1d637 100644
--- a/src/lib/dns/master_loader.h
+++ b/src/lib/dns/master_loader.h
@@ -29,15 +29,23 @@ namespace dns {
 /// and any possible errors or problems.
 class MasterLoaderContextBase {
 public:
+    /// \brief Virtual destructor
+    virtual ~MasterLoaderContextBase() {}
+
     /// \brief Report a loaded RRset
     ///
     /// The loader found another RRset and reports it by calling this method.
+    /// \param rrset The newly loaded rrset. The rrset will not be preserved
+    ///     or modified by the loader. It won't be accompanied by an RRSIG,
+    ///     RRSIGs are passed by another call to this method.
     virtual void addRRset(const RRsetPtr& rrset) = 0;
 
     /// \brief Get callbacks for error handling
     ///
     /// The master loader accesses the callbacks used for error reporting
     /// through this.
+    ///
+    /// \return The callbacks.
     virtual LoaderCallbacks& getCallbacks() = 0;
 };
 



More information about the bind10-changes mailing list