Liking cljdoc? Tell your friends :D

clojure-message-broker-common.protocols


->clientclj

(->client [url port])

->serverclj

(->server conf handle-fn)

brokers->brokers-by-idclj

(brokers->brokers-by-id brokers)

clientsclj


CMBClientcljprotocol

initClientclj

(initClient this)

stopclj

(stop this)

stopped?clj

(stopped? this)

writeclj

(write this data)

CMBServercljprotocol

initclj

(init this)

data->out-streamclj

(data->out-stream out-stream send-data)

Deserializercljprotocol

deserializeclj

(deserialize this val)

in-stream->deserialized-dataclj

(in-stream->deserialized-data in-stream)

make-commclj

(make-comm success?)
(make-comm value success?)
(make-comm type key value)
(make-comm type key value success?)
(make-comm type key topic value auto-commit?)
(make-comm type brokers key topic value auto-commit? success? error)

make-error-commclj

(make-error-comm error)

Messagecljprotocol

getTypeclj

(getType this)

success?clj

(success? this)

setKeyclj

(setKey this key)

replicate?clj

(replicate? this)

getErrorclj

(getError this)

getBrokersclj

(getBrokers this)

getKeyclj

(getKey this)

setErrorclj

(setError this error)

getValueclj

(getValue this)

getTsclj

(getTs this)

setTypeclj

(setType this type)

setValueclj

(setValue this value)

setBrokersclj

(setBrokers this brokers)

setTopicclj

(setTopic this topic)

getTopicclj

(getTopic this)

auto-commit?clj

(auto-commit? this)

setTsclj

(setTs this ts)

multi-addresses->broker-by-idclj

(multi-addresses->broker-by-id addresses)

Serializercljprotocol

serializeclj

(serialize this val)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close