Liking cljdoc? Tell your friends :D

clj-artnet.impl.protocol.state

State schema and initialization (Art-Net 4).

State schema and initialization (Art-Net 4).
raw docstring

callbacksclj

(callbacks state)

Returns callbacks from state.

Returns callbacks from state.
sourceraw docstring

default-failsafe-timeout-nsclj

Default failsafe timeout (2.5s).

Default failsafe timeout (2.5s).
sourceraw docstring

default-merge-source-timeout-nsclj

Default merge source timeout (2.5s).

Default merge source timeout (2.5s).
sourceraw docstring

default-sync-buffer-ttl-nsclj

Default sync buffer TTL (1s).

Default sync buffer TTL (1s).
sourceraw docstring

get-peerclj

(get-peer state peer-key)

Returns peer entry by key.

Returns peer entry by key.
sourceraw docstring

inc-statclj

(inc-stat state stat-key)

Increments statistics counter.

Increments statistics counter.
sourceraw docstring

initial-dmx-stateclj

(initial-dmx-state)
(initial-dmx-state config)

Creates initial DMX state.

Options: :sync - map, {:mode :immediate|:art-sync, :buffer-ttl-ns long} :failsafe - map, {:enabled? bool, :idle-timeout-ns long}

Creates initial DMX state.

Options:
  :sync     - map, {:mode :immediate|:art-sync, :buffer-ttl-ns long}
  :failsafe - map, {:enabled? bool, :idle-timeout-ns long}
sourceraw docstring

initial-stateclj

(initial-state)
(initial-state config)

Creates initial protocol state.

Options: :node - map, ArtPollReply fields :network - map, Network configuration :callbacks - map, {:dmx fn :sync fn :rdm fn} :dmx - map, DMX config :rdm - map, RDM config

Creates initial protocol state.

Options:
  :node      - map, ArtPollReply fields
  :network   - map, Network configuration
  :callbacks - map, {:dmx fn :sync fn :rdm fn}
  :dmx       - map, DMX config
  :rdm       - map, RDM config
sourceraw docstring

network-configclj

(network-config state)

Returns network configuration from state.

Returns network configuration from state.
sourceraw docstring

node-configclj

(node-config state)

Returns node configuration from state.

Returns node configuration from state.
sourceraw docstring

peer-keyclj

(peer-key sender)

Returns peer key [host-str port] from sender.

Returns peer key [host-str port] from sender.
sourceraw docstring

remember-peerclj

(remember-peer state sender timestamp)

Updates peer entry in state.

Updates peer entry in state.
sourceraw docstring

update-sequenceclj

(update-sequence state)

Increments DMX sequence number (wraps at 255). Returns [state next-seq].

Increments DMX sequence number (wraps at 255).
Returns [state next-seq].
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close