Platform Team/Sugar Network/Architecture: Difference between revisions

No edit summary
Line 104: Line 104:
* '''PUSH''' packet:
* '''PUSH''' packet:
:* {{Code|type}}: {{Code|push}}
:* {{Code|type}}: {{Code|push}}
:* {{Code|sender}}: sender's GUID to push from
:* {{Code|src}}: sender's identity to push from
:* {{Code|[receiver]}}: receiver's GUID to push to, optional for packets from master
:* {{Code|[dst]}}: receiver's identity to push to, optional for packets from master
:* {{Code|sequence}}: Sequence associated with packet's payload
:* {{Code|sequence}}: Sequence associated with packet's payload


* '''ACK''' packet:
* '''ACK''' packet:
:* {{Code|type}}: {{Code|ack}}
:* {{Code|type}}: {{Code|ack}}
:* {{Code|sender}}: master's GUID
:* {{Code|src}}: master's identity
:* {{Code|receiver}}: receiver's GUID ack is intended for
:* {{Code|dst}}: receiver's identity ack is intended for
:* {{Code|push_sequence}}: original PUSH packet's sequence
:* {{Code|push_sequence}}: original PUSH packet's sequence
:* {{Code|pull_sequence}}: Sequence after merging original PUSH packet
:* {{Code|pull_sequence}}: Sequence after merging original PUSH packet
Line 117: Line 117:
* '''PULL''' packet:
* '''PULL''' packet:
:* {{Code|type}}: {{Code|pull}}
:* {{Code|type}}: {{Code|pull}}
:* {{Code|sender}}: sender's GUID to pull to
:* {{Code|src}}: sender's identity to pull to
:* {{Code|receiver}}: receiver's GUID to pull from
:* {{Code|dst}}: receiver's identity to pull from
:* {{Code|sequence}}: Sequence to pull for
:* {{Code|sequence}}: Sequence to pull for