From b503a70fca019368399038cde649b3ef8df85bb9 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 18 Sep 2008 14:51:48 +0200 Subject: Flexiblere ?bertragung von Host-Listen --- src/Client/Requests/DaemonListRequest.cpp | 4 ++-- src/Client/Requests/DaemonListRequest.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Client/Requests') diff --git a/src/Client/Requests/DaemonListRequest.cpp b/src/Client/Requests/DaemonListRequest.cpp index 2c2e195..279d19c 100644 --- a/src/Client/Requests/DaemonListRequest.cpp +++ b/src/Client/Requests/DaemonListRequest.cpp @@ -19,7 +19,7 @@ #include "DaemonListRequest.h" #include -#include +#include namespace Mad { namespace Client { @@ -35,7 +35,7 @@ void DaemonListRequest::handlePacket(Net::Connection*, const Net::Packet &packet return; // TODO Logging } - finish(Net::Packets::NameListPacket(packet)); + finish(Net::Packets::HostListPacket(packet)); } } diff --git a/src/Client/Requests/DaemonListRequest.h b/src/Client/Requests/DaemonListRequest.h index 5c57502..625e430 100644 --- a/src/Client/Requests/DaemonListRequest.h +++ b/src/Client/Requests/DaemonListRequest.h @@ -26,20 +26,20 @@ namespace Mad { namespace Net { namespace Packets { -class NameListPacket; +class HostListPacket; } } namespace Client { namespace Requests { -class DaemonListRequest : public Common::Request { +class DaemonListRequest : public Common::Request { protected: virtual void sendRequest(Net::Connection *connection, uint16_t requestId); virtual void handlePacket(Net::Connection *connection, const Net::Packet &packet); public: - DaemonListRequest(slot_type slot) : Common::Request(slot) {} + DaemonListRequest(slot_type slot) : Common::Request(slot) {} }; } -- cgit v1.2.3