Add SessionDisconnectJob to publish DisconnectEvent when Session timeouts #207

Merged
lars.winzer merged 5 commits from feat/15-session-disconnect-job into main 2026-03-28 13:17:43 +01:00
lars.winzer commented 2026-03-28 13:16:19 +01:00 (Migrated from git.scicore.unibas.ch)

Modified Session by a field to track last activity and made it accessible and modifyable via setters and getters.

Modified SessionManager to return all active sessions for SessionDisconnectJob to iterate over.

Added SessionDisconnectJob to iterate over all active sessions and publish DisconnectEvent for those that reached the specified timeout (default 5 seconds)

Closes #15

Modified `Session` by a field to track last activity and made it accessible and modifyable via setters and getters. Modified `SessionManager` to return all active sessions for `SessionDisconnectJob` to iterate over. Added `SessionDisconnectJob` to iterate over all active sessions and publish `DisconnectEvent` for those that reached the specified timeout (default 5 seconds) Closes #15
lars.winzer (Migrated from git.scicore.unibas.ch) scheduled this pull request to auto merge when all checks succeed 2026-03-28 13:17:25 +01:00
lars.winzer (Migrated from git.scicore.unibas.ch) merged commit 8d571172d5 into main 2026-03-28 13:17:43 +01:00
lars.winzer commented 2026-03-28 13:17:44 +01:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 8d571172d5

mentioned in commit 8d571172d56465c5a2896dbdab0187adf367f2f6
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#207