RType
Public Member Functions | List of all members
Server Class Reference

#include <Server.hpp>

Public Member Functions

 Server (int port)
 Construct a new Server:: Server object. More...
 
 ~Server ()=default
 Destroy the Server:: Server object. More...
 
void run ()
 run the server More...
 

Detailed Description

Definition at line 19 of file Server.hpp.

Constructor & Destructor Documentation

◆ Server()

Server::Server ( int  port)

Construct a new Server:: Server object.

Parameters
port

Definition at line 18 of file Server.cpp.

Referenced by main().

Here is the caller graph for this function:

◆ ~Server()

Server::~Server ( )
default

Destroy the Server:: Server object.

Member Function Documentation

◆ run()

void Server::run ( )

run the server

Definition at line 92 of file Server.cpp.

References packet::code, packet::data, packet::data_size, and MESSAGE.

Referenced by main().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: