Package-level declarations

Types

Link copied to clipboard
@Serializable
enum DigitalState : Enum<DigitalState>

Binary state for nodes that represent a single on/off signal — typically GPIO pins and pin-backed abstractions (solenoids, relays, LEDs, buttons).

Link copied to clipboard

The set of events that can cause an executor / filter / trigger node to fire its work.

Link copied to clipboard
@Serializable
data class NodeIdentity(val nodeId: String, val hostId: String)

Address pair that uniquely identifies a node in a multi-server Krill swarm.

Link copied to clipboard
interface NodeMetaData

Marker interface that every node's per-type metadata payload must implement.

Link copied to clipboard

Lifecycle / status state for every Krill node.

Link copied to clipboard
@Serializable
data class NodeWire(val timestamp: Long, val installId: String, host: String, val port: Int, val platform: Platform, val clusterToken: String = "")

The minimal payload required to discover and connect to a Krill peer.

Link copied to clipboard

Common contract for nodes that read from upstream sources and write to downstream targets — the executor / filter / trigger family.

Functions

Link copied to clipboard

Maps a DigitalState to a numeric value suitable for time-series graphing and calculation nodes: ON → 1.0, OFF → 0.0.

Link copied to clipboard

Returns the canonical https://<host>:<port> URL for this peer's HTTP/SSE endpoint. Krill requires TLS on every interconnect, so the scheme is always https.