/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ClientManager.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/05/15 18:30:07 by fgras-ca #+# #+# */ /* Updated: 2024/05/21 18:01:47 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef CLIENTMANAGER_HPP #define CLIENTMANAGER_HPP #include #include #include "Client.hpp" #include "Channel.hpp" #include "Server.hpp" #include "CommandHandler.hpp" #include "RPL.hpp" #include "Utils.hpp" #include #include #include #include #include #include #include #include #include #include #include class Server; class Client; class ClientManager { public: ClientManager(Server *server); void acceptClient(); void handleClient(int client_fd); void removeClient(int client_fd); private: Server *_server; }; #endif