summaryrefslogtreecommitdiffstats
path: root/src/Core/ConnectionManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/ConnectionManager.h')
-rw-r--r--src/Core/ConnectionManager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Core/ConnectionManager.h b/src/Core/ConnectionManager.h
index be9beb9..0832b5a 100644
--- a/src/Core/ConnectionManager.h
+++ b/src/Core/ConnectionManager.h
@@ -26,8 +26,8 @@
#include <memory>
#include <poll.h>
-#include "DaemonInfo.h"
#include <Common/Exception.h>
+#include <Common/HostInfo.h>
#include <Common/RequestManager.h>
namespace Mad {
@@ -50,7 +50,7 @@ class ConnectionManager {
std::list<Net::ServerConnection*> daemonConnections;
std::list<Net::ServerConnection*> clientConnections;
- std::map<std::string,DaemonInfo> daemonInfo;
+ std::map<std::string,Common::HostInfo> daemonInfo;
std::map<std::string,Net::ServerConnection*> identifiedDaemonConnections;
std::vector<struct pollfd> pollfds;
@@ -85,7 +85,7 @@ class ConnectionManager {
Net::Connection* getDaemonConnection(const std::string &name) const throw (Common::Exception&);
void identifyDaemonConnection(Net::Connection *connection, const std::string &name) throw (Common::Exception&);
- std::map<std::string,DaemonInfo> getDaemonList() const;
+ std::vector<Common::HostInfo> getDaemonList() const;
};
}