Expand description
PVA Connection State Tracker
Tracks channel mappings (CID ↔ SID ↔ PV name) and operation states to enable full decoding of MONITOR packets.
Structs§
- Channel
Info - Information about a channel (PV)
- Channel
Snapshot - Connection
Key - Unique key for a TCP connection (canonical - order independent)
- Connection
Snapshot - Connection
State - Per-connection state
- Operation
State - State for an active operation (GET/PUT/MONITOR etc.)
- PvaState
Config - Configuration for the PVA state tracker
- PvaState
Stats - Statistics for monitoring
- PvaState
Tracker - Global PVA state tracker across all connections
Constants§
- DEFAULT_
MAX_ MEMORY_ BYTES - 1 GiB. Chosen to be generous enough that a busy facility never sheds introspection in practice, while still bounding a multi-day passive run.
- DEFAULT_
MAX_ SEARCH_ CACHE_ ENTRIES - Enough for a large facility’s PV set several times over.