Add SessionReader and SessionWriter worker threads for session #198

Merged
lars.winzer merged 20 commits from feat/session-reader-and-writer-thread into main 2026-03-20 17:39:44 +01:00
lars.winzer commented 2026-03-20 17:38:09 +01:00 (Migrated from git.scicore.unibas.ch)

Added SessionReader and SessionWriter to read from and write to the TransportLayer.

Sessions are now created in the SessionManager .

If the connection is interrupted (IOException while reading transport), both threads are interrupted and the session is removed.

Alternatively the disconnect can be initiated via the disconnect method, this will come in handy later for the watchdog, disconnecting stale clients after the server hasnt recieved any pings.

Closes #9

Added `SessionReader` and `SessionWriter` to read from and write to the `TransportLayer`. Sessions are now created in the `SessionManager` . If the connection is interrupted (`IOException` while reading transport), both threads are interrupted and the session is removed. Alternatively the disconnect can be initiated via the `disconnect` method, this will come in handy later for the watchdog, disconnecting stale clients after the server hasnt recieved any pings. Closes #9
lars.winzer commented 2026-03-20 17:38:30 +01:00 (Migrated from git.scicore.unibas.ch)

changed the description

changed the description
lars.winzer commented 2026-03-20 17:39:45 +01:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 8d72a67b5e

mentioned in commit 8d72a67b5e674301642ea4137c76c57d44cc151f
lars.winzer (Migrated from git.scicore.unibas.ch) merged commit 8d72a67b5e into main 2026-03-20 17:39:45 +01:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#198