server: tidy the slice comments after the rollout (#20)
This commit is contained in:
+1
-1
@@ -1002,7 +1002,7 @@ proc dispatch(conn: Conn, env: Envelope) {.gcsafe.} =
|
|||||||
return
|
return
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# A catalogue intent whose slice has not landed yet (#20-#25). It still gets its one ack, with
|
# A catalogue intent whose slice has not landed yet (#21-#25). It still gets its one ack, with
|
||||||
# a static code and no state; `unknown-type` is the honest answer until the handler exists
|
# a static code and no state; `unknown-type` is the honest answer until the handler exists
|
||||||
# (DESIGN 6.1, slice-3 note).
|
# (DESIGN 6.1, slice-3 note).
|
||||||
ackErr(conn, env.reqId, CodeUnknownType)
|
ackErr(conn, env.reqId, CodeUnknownType)
|
||||||
|
|||||||
+2
-2
@@ -173,8 +173,8 @@ proc nackFrame*(reqId, n: int, code: string): JsonNode =
|
|||||||
%*{"t": "ack", "reqId": reqId, "ok": false, "code": code, "n": n}
|
%*{"t": "ack", "reqId": reqId, "ok": false, "code": code, "n": n}
|
||||||
|
|
||||||
proc nackMoveFrame*(reqId, n: int, x, y: float): JsonNode =
|
proc nackMoveFrame*(reqId, n: int, x, y: float): JsonNode =
|
||||||
## The uniform move refusal of DESIGN 5.5/T9: `ok:false, pos` and NO code. Unused until
|
## The uniform move refusal of DESIGN 5.5/T9: `ok:false, pos` and NO code. `token.move` sends it
|
||||||
## slice 5's `token.move`; kept with the frame builders so the shape has one definition.
|
## from main.nim; it lives here so the shape has one definition.
|
||||||
%*{"t": "ack", "reqId": reqId, "ok": false, "pos": [x, y], "n": n}
|
%*{"t": "ack", "reqId": reqId, "ok": false, "pos": [x, y], "n": n}
|
||||||
|
|
||||||
proc errorFrame*(code: string, n: int): JsonNode =
|
proc errorFrame*(code: string, n: int): JsonNode =
|
||||||
|
|||||||
Reference in New Issue
Block a user