Skip to main content

Module spvirit_state

Module spvirit_state 

Source
Expand description

PVA Connection State Tracker

Tracks channel mappings (CID ↔ SID ↔ PV name) and operation states to enable full decoding of MONITOR packets.

Structs§

ChannelInfo
Information about a channel (PV)
ChannelSnapshot
ConnectionKey
Unique key for a TCP connection (canonical - order independent)
ConnectionSnapshot
ConnectionState
Per-connection state
OperationState
State for an active operation (GET/PUT/MONITOR etc.)
PvaStateConfig
Configuration for the PVA state tracker
PvaStateStats
Statistics for monitoring
PvaStateTracker
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.