summaryrefslogtreecommitdiff
path: root/src/chatServer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chatServer.hpp')
-rw-r--r--src/chatServer.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/chatServer.hpp b/src/chatServer.hpp
index 9aac157..f6ebb23 100644
--- a/src/chatServer.hpp
+++ b/src/chatServer.hpp
@@ -3,14 +3,17 @@
class CChatServer {
public:
- CChatServer();
+ CChatServer(uint16_t port);
~CChatServer();
void start();
void cleanup();
private:
+ uint16_t m_port;
+
void initManagers();
void initServer();
+
std::jthread m_sessionManagerThread;
};