(check-protocol protocol)
(configure-logging)
(configure-logging level)
(dedupe-schemas schemas)
(get-current-time-ms)
Inputs: [] Returns: s/Num
Inputs: [] Returns: s/Num
(get-msgs protocol role)
(get-msgs-name-set protocol role)
(get-peer-role protocol role)
(get-rpc-id* *rpc-id)
(get-rpcs protocol role)
(get-rpcs-name-set protocol role)
(handle-rcv rcvr-type
conn-id
sender
subject-id
peer-id
encoded-msg
msgs-union-schema
writer-schema
*msg-record-name->handler)
(handle-rpc-failure-rsp *rpc-id->rpc-info silence-log?)
(handle-rpc-success-rsp *rpc-id->rpc-info)
(make-rpc-rsp-handler-map protocol role *rpc-id->rpc-info silence-log?)
(msg-record-name msg-type msg-name-kw)
(msg-wrapper-schema [msg-name {:keys [arg]}])
(msgs-union-schema protocol)
Inputs: [protocol :- Protocol] Returns: LancasterSchema
Inputs: [protocol :- Protocol] Returns: LancasterSchema
(pprint x)
(pprint-str x)
(role-schemas protocol role)
(rpc-msg-info rpc-name-kw rpc-id timeout-ms arg success-cb failure-cb)
(rpc-req-handler rpc-name-kw rpc-rsp-name handler)
(rpc-req-wrapper-schema [rpc-name rpc-def])
(rpc-success-rsp-wrapper-schema [rpc-name rpc-def])
(set-handler msg-name-kw
handler
*msg-rec-name->handler
peer-msgs
peer-rpcs
peer-role)
(set-msg-handler msg-name-kw handler *msg-rec-name->handler)
(set-rpc-handler rpc-name-kw handler *msg-rec-name->handler)
(start-gc-loop *shutdown? *rpc-id->rpc-info)
(sym-map & syms)
Builds a map from symbols. Symbol names are turned into keywords and become the map's keys. Symbol values become the map's values. (let [a 1 b 2] (sym-map a b)) => {:a 1 :b 2}
Builds a map from symbols. Symbol names are turned into keywords and become the map's keys. Symbol values become the map's values. (let [a 1 b 2] (sym-map a b)) => {:a 1 :b 2}
(throw-cant-serialize rsp rpc-name e)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close