Add: PrimitiveRequest takes now RequestContext instead of requestId
This commit is contained in:
+2
-1
@@ -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) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user