From c768e610aa4ec4cbd11a919e65ee984d8d71b868 Mon Sep 17 00:00:00 2001 From: haller Date: Sun, 7 May 2006 21:39:58 +0000 Subject: * Amélioration de socket_client * Codage du server_log en lui faisant manger des DataInput --- i/marvin/src/log/log_server.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'i/marvin/src/log/log_server.hh') diff --git a/i/marvin/src/log/log_server.hh b/i/marvin/src/log/log_server.hh index c9b9cf5..a18de15 100644 --- a/i/marvin/src/log/log_server.hh +++ b/i/marvin/src/log/log_server.hh @@ -26,7 +26,7 @@ // }}} #include "socket/socket_server.hh" -#include "data/data_buffer.hh" +#include "data/data_input.hh" /// Classe pour récupérer les logs. /// La classe construit un serveur en fin de match pour pouvoir récupérer les @@ -37,12 +37,12 @@ class LogServer /// La socket serveur qui attend la ze connection SocketServer ss_; /// La dataBuffer à transmettre (avec les logs dedans c'est mieux) - DataBuffer & db_; + DataInput & di_; public: /// Constructeur - LogServer(DataBuffer & db, const Address & address); + LogServer(DataInput & di, const Address & address); /// Constructeur - LogServer(DataBuffer & db, const std::string & address, int port); + LogServer(DataInput & di, const std::string & address, int port); /// Mise en écoute du serveur void listen(void); }; -- cgit v1.2.3