Add SessionReader and SessionWriter worker threads for session #198
Reference in New Issue
Block a user
Delete Branch "feat/session-reader-and-writer-thread"
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?
Added
SessionReaderandSessionWriterto read from and write to theTransportLayer.Sessions are now created in the
SessionManager.If the connection is interrupted (
IOExceptionwhile reading transport), both threads are interrupted and the session is removed.Alternatively the disconnect can be initiated via the
disconnectmethod, this will come in handy later for the watchdog, disconnecting stale clients after the server hasnt recieved any pings.Closes #9
changed the description
mentioned in commit
8d72a67b5e