style(server): not a core module

This commit is contained in:
Raphael 2025-05-20 22:15:51 +02:00
parent 5cecbb613b
commit cb5334a206

View file

@ -1,36 +0,0 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* server.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/13 11:06:56 by rparodi #+# #+# */
/* Updated: 2025/05/20 17:11:56 by sben-tay ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include "core.hpp"
#include <string>
#include "PollManager.hpp"
class Server {
public:
Server();
Server(int port, const std::string &password);
~Server();
unsigned short int getPort() const;
void showInfo() const;
void setServerFd(int fd);
void start();
private:
unsigned short int _port;
int _serverFd;
std::string _password;
PollManager _poll;
};