Expand description
PVA protocol handler — the core TCP connection processor.
handle_connection uses a SourceRegistry to resolve PV names across
multiple registered sources, serving PVs over the EPICS PVAccess protocol.
Structs§
- Server
State - Shared server state that is passed to every connection handler.
Enums§
- PvList
Mode - Controls how the server exposes its PV directory.
Functions§
- bind_
udp_ search_ socket - Bind the fixed UDP search port with
SO_REUSEADDR(andSO_REUSEPORTon Unix) so other local PVA consumers such asp4pcan also listen on the same well-known port. On macOS in particular, a plainUdpSocket::bind(5076)prevents any subsequent binder from joining the port, which broke co-located clients. - collect_
visible_ pv_ names - dump_
hex_ packet - handle_
connection - Handle a single PVA TCP connection.
- infer_
udp_ response_ ip - is_
pattern_ query - is_
pvlist_ virtual_ pv - is_
server_ rpc_ pv - is_
virtual_ event_ pv - rand_
guid - run_
tcp_ server - Accept TCP connections and spawn a handler for each.
- run_
udp_ search - Run the UDP search responder.
- search_
reply_ target - validate_
encoded_ packet - virtual_
event_ nt - virtual_
pvlist_ nt - wildcard_
match