Liking cljdoc? Tell your friends :D

frereth.cp.message.helpers

Top-level message helpers

Top-level message helpers
raw docstring

drop-ackd!clj

(drop-ackd! {:keys [:frereth.cp.message.specs/message-loop-name]
             {:keys [:frereth.cp.message.specs/ackd-addr
                     :frereth.cp.message.specs/send-eof
                     :frereth.cp.message.specs/un-ackd-blocks]
              :as outgoing}
               :frereth.cp.message.specs/outgoing
             :as state})

earliest-block-timeclj

(earliest-block-time message-loop-name log-state un-acked-blocks)

Calculate the earliest time

Based on earliestblocktime_compute, in lines 138-153

Calculate the earliest time

Based on earliestblocktime_compute, in lines 138-153
raw docstring

flag-ackd-blocksclj

(flag-ackd-blocks start
                  stop
                  state
                  {:keys [:frereth.cp.message.specs/start-pos
                          :frereth.cp.message.specs/transmissions
                          :frereth.cp.message.specs/buf]
                   :as block})

mark-ackd-by-addrclj

(mark-ackd-by-addr {{:keys [:frereth.cp.message.specs/un-ackd-blocks
                            :frereth.cp.message.specs/send-eof
                            :frereth.cp.message.specs/send-eof-acked
                            :frereth.cp.message.specs/strm-hwm]}
                      :frereth.cp.message.specs/outgoing
                    :keys [:frereth.cp.message.specs/message-loop-name]
                    :as state}
                   start
                   stop)

Mark sent blocks between positions start and stop as ACK'd

Based [cleverly] on acknowledged(), running from lines 155-185

Mark sent blocks between positions start and stop as ACK'd

Based [cleverly] on acknowledged(), running from lines 155-185
raw docstring

mark-block-ackdclj

(mark-block-ackd {:keys [:frereth.cp.message.specs/un-ackd-blocks] :as outgoing}
                 block)

Flag block ACK'd in the un-ackd set

Flag block ACK'd in the un-ackd set
raw docstring

read-intclj

(read-int bb)

read-longclj

(read-long bb)

read-shortclj

(read-short bb)

read-uintclj

(read-uint bb)

read-ulongclj

(read-ulong bb)

read-ushortclj

(read-ushort bb)

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

× close