Create dedicated SessionWriter and SessionReader runnables for Session #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task
Summary
Threads for reading from and writing to socket buffers.
Context
Session and Transport
Affected Components
Session
Definition of Done
SessionWriterandSessionReaderNotes
Checklist
marked this task as related to #8
removed the relation with #8
marked this task as related to #8
created branch
feat/session-reader-and-writer-threadto address this issuechanged title from
Create SessionWriter and SessionReader for SessiontoCreate dedicated SessionWriter and SessionReader runnables for Sessionassigned to @lars.winzer
Both the
SessionReaderandSessionWriterare going to be managed by theSessionManager.Currently the NetworkManager creates the Session object and starts its.
Even though the
NetworkManageralready has a relation to theSessionManager.After this modification, the SessionManager will create the Session and the worker threads and manage thier lifecycle.
added 2h 5m of time spent at 2026-03-19 12:00:00 +0100
marked the checklist item Make Session use new abstraction. as completed
marked the checklist item Create SessionWriter and SessionReader as completed
New implementation has been testet (at 19:11 already) via the debugger to confirm that the threads for the
SessionReaderandSessionWriterare correctly interrupted if the client disconnects.mentioned in merge request !42
added 1h 10m of time spent at 2026-03-20 12:00:00 +0100
mentioned in commit
8d72a67b5ementioned in issue #11