Add: SessionHandle to store Session and two worker threads
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
|||||||
|
package ch.unibas.dmi.dbis.cs108.casono.server.network.sessions;
|
||||||
|
|
||||||
|
/** The SessionHandle stores the session and the two worker threads associated with the session */
|
||||||
|
record SessionHandle(Session session, Thread reader, Thread writer) {}
|
||||||
Reference in New Issue
Block a user