From fcab8098d6a9a385e0e5edfb26f4abf615da77ca Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 10 Oct 2008 15:04:28 +0200 Subject: FdManager hinzugef?gt und Verbindungsklassen angepasst --- src/Core/ConnectionManager.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/Core/ConnectionManager.h') diff --git a/src/Core/ConnectionManager.h b/src/Core/ConnectionManager.h index 4f3ff67..6bbd66a 100644 --- a/src/Core/ConnectionManager.h +++ b/src/Core/ConnectionManager.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include @@ -53,17 +52,12 @@ class ConnectionManager { std::map daemonInfo; std::map identifiedDaemonConnections; - std::vector pollfds; - std::map pollfdMap; - // Prevent shallow copy ConnectionManager(const ConnectionManager &o); ConnectionManager& operator=(const ConnectionManager &o); ConnectionManager(); - void refreshPollfds(); - void handleConnections(std::list &connections); void updateState(const std::string &name, Common::HostInfo::State state); @@ -79,10 +73,6 @@ class ConnectionManager { ~ConnectionManager(); - bool wait(int timeout) { - return (poll(pollfds.data(), pollfds.size(), timeout) > 0); - } - void run(); Net::Connection* getDaemonConnection(const std::string &name) const throw (Common::Exception&); -- cgit v1.2.3