asimov.xmlrpc
gen-return-map
(gen-return-map code status-message)
get-topic-types
(get-topic-types master-url node-name)
listen!
(listen! node)
Starts a http server for communication with the master and other nodes.
Expects:
node:atom The node that communicates through the server and stores all state.
Returns a map containing the http server instance (:server) as well as its port (:port).
register-publisher
(register-publisher master-url publisher-node topic msg publisher-url)
register-subscriber
(register-subscriber master-url subscriber-node topic msg subscriber-url)
request-topic
(request-topic slave-url subscriber-node topic protocols)
unimpl
(unimpl & methods)
Used for stubbing out unimplemented xml-rpc requests.
Expects:
methods:&keyword The methods to be stubbed out.
Returns a map of callbacks which will signal that
an unimplemented handler has been called when executed.