add session

This commit is contained in:
Hane 2024-02-03 18:52:18 +01:00
commit 1cee03aba6
6 changed files with 79 additions and 28 deletions

View file

@ -40,6 +40,8 @@ class Endpoint {
std::vector<Session*> getSessions();
size_t getSessionCount();
void addSession(Session* session);
void registerNewSessionNotification(EndpointNewSessionCallback* ensc);
void unregisterNewSessionNotification(EndpointNewSessionCallback* ensc);
~Endpoint();