From: Mukund Sivaraman Date: Wed, 31 Jul 2013 07:33:00 +0000 (+0530) Subject: [2935] Remove unused classes X-Git-Tag: bind10-1.2.0beta1-release~308^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b920504363ea51053de5d287dbc68bd271a39f90;p=thirdparty%2Fkea.git [2935] Remove unused classes This functionality seems to be handled inside CC session itself now. ModuleCCSession::start() adds startCheck() and handles checkCommand() there. --- diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc index 682886ec6a..f607d1055c 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 46f9e61e98..2ac638f5b3 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),