Add: TransportLayer interface to abstract direct socket access

This commit is contained in:
Lars Simon Winzer
2026-03-12 15:41:23 +01:00
parent f4a32b1649
commit 48d77b6cbe
@@ -0,0 +1,9 @@
package ch.unibas.dmi.dbis.cs108.casono.server.network;
import java.io.IOException;
public interface TransportLayer {
String read() throws IOException;
void write(String data) throws IOException;
void close() throws IOException;
}