Add: Make TransportLayer accessible through get-method

This commit is contained in:
Lars Simon Winzer
2026-03-19 17:41:45 +01:00
parent f612c0b9a1
commit 7b4fd4aeae
@@ -47,6 +47,15 @@ public class Session implements Runnable {
return this.id; return this.id;
} }
/**
* Returns the TransportLayer of this session
*
* @return the transport layer of the session
*/
public TransportLayer getTransport() {
return transport;
}
/** Starts the session thread. */ /** Starts the session thread. */
public void start() { public void start() {
thread.start(); thread.start();