relayer receive loop is done
Receive loop looks right. Still need the send loop. And, a complication is that some messages git-annex sends need to be wrapped in REPLY_ASYNC, while others do not. So will probably need to split externalSend into two.
This commit is contained in:
parent
06a4ab39fa
commit
15706e6991
4 changed files with 73 additions and 46 deletions
|
@ -111,7 +111,9 @@ Here's the details about the additions to the protocol.
|
|||
* `END-ASYNC JobId ReplyMsg`
|
||||
Indicates that an async job is complete. The ReplyMsg indicates the result
|
||||
of the job, and is anything that would be sent as a protocol reply in the
|
||||
non-async protocol.
|
||||
non-async protocol.
|
||||
After this, the JobId is not in use, an indeed the same value could be
|
||||
reused by a new `START-ASYNC` if desired.
|
||||
* `RESULT-ASYNC ReplyMsg`
|
||||
This is the same as sending `START-ASYNC` immediately followed by
|
||||
`END-ASYNC`. This is often used to respond to `PREPARE`, `LISTCONFIGS`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue