sending a queryID request compiles (untested)

This commit is contained in:
Trolli Schmittlauch 2020-05-20 18:37:56 +02:00
parent beffab99a0
commit f6c252d314
6 changed files with 83 additions and 41 deletions

View file

@ -8,7 +8,7 @@ Action ::= ENUMERATED {queryID, join, leave, stabilise, ping}
Request ::= SEQUENCE {
action Action,
requestID INTEGER,
requestID INTEGER (0..4294967295), -- arbitrarily restricting to an unsigned 32bit integer
sender NodeState,
parts INTEGER (1..150), -- number of message parts
part INTEGER (1..150), -- part number of this message, starts at 1
@ -25,7 +25,7 @@ Request ::= SEQUENCE {
-- request and response instead of explicit flag
Response ::= SEQUENCE {
responseTo INTEGER,
responseTo INTEGER (0..4294967295), -- arbitrarily restricting to an unsigned 32bit integer
senderID NodeID,
parts INTEGER (0..150),
part INTEGER (0..150),