Extend Protocol
This commit is contained in:
parent
c0508cb2d3
commit
0052f8ab60
18
notes/.obsidian/workspace.json
vendored
18
notes/.obsidian/workspace.json
vendored
|
@ -4,16 +4,16 @@
|
|||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "8aab114180050524",
|
||||
"id": "a5f8ef865112d597",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "4f9428c0d7e6ec10",
|
||||
"id": "394ad00be71f8b2e",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "UwUsched/UwUSched.md",
|
||||
"file": "UwUsched/Protocol.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
}
|
||||
|
@ -85,7 +85,7 @@
|
|||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"file": "UwUsched/UwUSched.md",
|
||||
"file": "UwUsched/Protocol.md",
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
|
@ -102,7 +102,7 @@
|
|||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"file": "UwUsched/UwUSched.md",
|
||||
"file": "UwUsched/Protocol.md",
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
|
@ -125,7 +125,7 @@
|
|||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "UwUsched/UwUSched.md"
|
||||
"file": "UwUsched/Protocol.md"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -146,10 +146,10 @@
|
|||
"command-palette:Open command palette": false
|
||||
}
|
||||
},
|
||||
"active": "4f9428c0d7e6ec10",
|
||||
"active": "394ad00be71f8b2e",
|
||||
"lastOpenFiles": [
|
||||
"UwUsched/UwUSched.md",
|
||||
"UwUsched/Protocol.md",
|
||||
"UwUsched/Cluster Architecture.md",
|
||||
"UwUsched/UwUSched.md"
|
||||
"UwUsched/Cluster Architecture.md"
|
||||
]
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
## Pull
|
||||
```json
|
||||
{
|
||||
"protocol_id":<protocol_id>,
|
||||
"uuid":<uuid>,
|
||||
"hashmap_id":<hashmap_id>,
|
||||
}
|
||||
|
@ -16,6 +17,7 @@
|
|||
## Response
|
||||
```json
|
||||
{
|
||||
"protocol_id":<protocol_id>,
|
||||
"status":<OK|HASH_ERR|TIMEOUT_ERR>,
|
||||
"uuid":<uuid>,
|
||||
"hashmap_id":<hashmap_id>
|
||||
|
@ -25,6 +27,7 @@
|
|||
## Push
|
||||
```json
|
||||
{
|
||||
"protocol_id":<protocol_id>,
|
||||
"uuid":<uuid>,
|
||||
"hashmap_id":<hashmap_id>,
|
||||
"length_decomp": <length_decomp>,
|
||||
|
@ -41,6 +44,8 @@
|
|||
|
||||
----
|
||||
|
||||
## JSON-Field Descriptions
|
||||
|
||||
**Data-Related**
|
||||
`uuid`: sha-256 of decompressed data
|
||||
`hashmap_identifier`: identifier of associated HashMap
|
||||
|
@ -52,4 +57,5 @@
|
|||
`attributes`: Implementation specific *EXTRAWURST*
|
||||
|
||||
**Control Flow**
|
||||
`protocol_id`: `data_push | data_pull | data_response | hash_push | hash_pull | hash_response`
|
||||
`status`: error codes indicating success of transmission
|
Loading…
Reference in a new issue