BIND 10 trac2935, updated. b920504363ea51053de5d287dbc68bd271a39f90 [2935] Remove unused classes

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jul 31 07:59:39 UTC 2013


The branch, trac2935 has been updated
       via  b920504363ea51053de5d287dbc68bd271a39f90 (commit)
      from  434edbb7276472a4ac31ccb63257fda00698baab (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 b920504363ea51053de5d287dbc68bd271a39f90
Author: Mukund Sivaraman <muks at isc.org>
Date:   Wed Jul 31 13:03:00 2013 +0530

    [2935] Remove unused classes
    
    This functionality seems to be handled inside CC session itself
    now. ModuleCCSession::start() adds startCheck() and handles
    checkCommand() there.

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

Summary of changes:
 src/bin/auth/auth_srv.cc     |   16 ----------------
 src/bin/resolver/resolver.cc |   15 ---------------
 2 files changed, 31 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc
index 682886e..f607d10 100644
--- a/src/bin/auth/auth_srv.cc
+++ b/src/bin/auth/auth_srv.cc
@@ -372,22 +372,6 @@ public:
     {}
 };
 
-// This is a derived class of \c SimpleCallback, to serve
-// as a callback in the asiolink module.  It checks for queued
-// configuration messages, and executes them if found.
-class ConfigChecker : public SimpleCallback {
-public:
-    ConfigChecker(AuthSrv* srv) : server_(srv) {}
-    virtual void operator()(const IOMessage&) const {
-        ModuleCCSession* cfg_session = server_->getConfigSession();
-        if (cfg_session != NULL && cfg_session->hasQueuedMsgs()) {
-            cfg_session->checkCommand();
-        }
-    }
-private:
-    AuthSrv* server_;
-};
-
 AuthSrv::AuthSrv(isc::xfr::AbstractXfroutClient& xfrout_client,
                  isc::util::io::BaseSocketSessionForwarder& ddns_forwarder) :
     dnss_(NULL)
diff --git a/src/bin/resolver/resolver.cc b/src/bin/resolver/resolver.cc
index 46f9e61..2ac638f 100644
--- a/src/bin/resolver/resolver.cc
+++ b/src/bin/resolver/resolver.cc
@@ -338,21 +338,6 @@ public:
     }
 };
 
-// This is a derived class of \c SimpleCallback, to serve
-// as a callback in the asiolink module.  It checks for queued
-// configuration messages, and executes them if found.
-class ConfigCheck : public SimpleCallback {
-public:
-    ConfigCheck(Resolver* srv) : server_(srv) {}
-    virtual void operator()(const IOMessage&) const {
-        if (server_->getConfigSession()->hasQueuedMsgs()) {
-            server_->getConfigSession()->checkCommand();
-        }
-    }
-private:
-    Resolver* server_;
-};
-
 Resolver::Resolver() :
     impl_(new ResolverImpl()),
     dnss_(NULL),



More information about the bind10-changes mailing list