Add RequestContext to simplify creation of Request which requires SessionId and RequestId #201

Merged
lars.winzer merged 7 commits from feat/request-context-record into main 2026-03-24 18:29:28 +01:00
Showing only changes of commit edc1b29884 - Show all commits
@@ -3,4 +3,5 @@ package ch.unibas.dmi.dbis.cs108.casono.server.network.parser;
import java.util.List; import java.util.List;
/** Created by the ProtocolParser to allow easy access to the request contents */ /** Created by the ProtocolParser to allow easy access to the request contents */
public record PrimitiveRequest(int requestId, String command, List<Parameter> parameters) {} public record PrimitiveRequest(
RequestContext context, String command, List<Parameter> parameters) {}