clj-artnet.impl.shell.graph
Flow graph construction for the Art-Net node runtime.
Assembles the core.async.flow graph connecting: - udp-recv: Receives UDP packets - failsafe: Timer ticks for failsafe DMX output - logic: Pure protocol state machine - udp-send: Sends UDP packets
Part of the Imperative Shell: Orchestrates the reactive pipeline.
create-graph
(create-graph {:keys [channel rx-pool tx-pool logic-config max-packet recv-buffer command-buffer actions-buffer default-target allow-limited-broadcast?]})Create the flow graph for Art-Net node processing.
Arguments: - channel: DatagramChannel for network IO - rx-pool: Buffer pool for receiving - tx-pool: Buffer pool for sending - logic-config: Logic layer configuration - max-packet: Maximum inbound packet size - recv-buffer: Size of receiver→logic channel - command-buffer: Size of a command injection channel - actions-buffer: Size of logic→sender channel - default-target: Default send target - allow-limited-broadcast?: Permit 255.255.255.255?