make NodeState a typeclasse, define setters and getters on its representations

contributes to #20
This commit is contained in:
Trolli Schmittlauch 2020-05-21 21:13:58 +02:00
parent 99a2b0ba09
commit fe673dc255
2 changed files with 68 additions and 26 deletions

View file

@ -44,7 +44,7 @@ NodeState ::= SEQUENCE {
domain Domain,
ipAddr OCTET STRING (SIZE(16)),
dhtPort INTEGER,
apPort INTEGER,
servicePort INTEGER,
vServerID INTEGER (0..255)
}