Dust.Protocol.Message (dustlayer v0.1.1)

Copy Markdown View Source

Summary

Functions

error(code, message)

Build an error message.

event(store, store_seq, op, path, value, device_id, client_op_id)

Build a canonical event.

hello(capver, device_id, token)

Build a hello message.

hello_response(capver_min, capver_max, your_capver, stores)

Build a hello response.

join(store, last_store_seq)

Build a join message.

write(store, op, path, value, device_id, client_op_id)

Build a write message.