VPN connections that are currently active/connected.
All known VPN connection profiles.
Check if service has been disposed
ReadonlyactivateActivates a VPN connection profile.
The VPN connection to activate
Notifies listeners that a property changed and emits the 'changed' signal.
The property name that changed
Connects a callback to a signal on this service.
The signal name (defaults to 'changed')
The callback to invoke when the signal is emitted
The signal connection ID
ReadonlydeactivateDeactivates a VPN connection.
The VPN connection to deactivate
Creates an incremental list binding that reuses existing widgets.
Instead of recreating all widgets on every update, this method caches widgets by a key function and only creates new widgets for new items, destroying widgets for removed items.
A Binding that produces an array of widgets
ProtecteddisconnectClean up all tracked signal connections Call this in service-specific dispose implementations
Dispose of service resources Override in subclasses to add specific cleanup
Emits a signal, warning if the signal was not registered via Service.register.
The warning is cheap (a Set lookup per emit) and helps catch typos
and missing signal declarations that silently break .bind().
ReadonlygetLooks up a VPN connection by UUID.
The connection UUID
The VpnConnection or undefined
ProtectedretryProtectedtrackTrack a signal connection for automatic cleanup
The object the signal is connected to (defaults to this)
The signal connection ID
Track a signal connection for automatic cleanup
The signal connection ID
Updates a property value and emits a notify signal if the value changed.
Performs a deep equality check via JSON serialization to avoid unnecessary notifications.
The property name in kebab-case
The new value
StaticimportStaticpspecStaticregister
VPN Manager Service
Manages all VPN connection profiles and their active states.
Lifecycle:
Fires
connection-added - Emitted when VPN connection added
Fires
connection-removed - Emitted when VPN connection removed
Fires
changed - Emitted when VPN state changes