Namespace Virtufin.WebSocketManager.Configuration
Classes
- ConnectionEvents
The states a connection lifecycle event reports in its payload's
statefield. Every lifecycle event is published tosys.websocketmanager.connection.lifecyclewith ce-typecom.virtufin.websocketmanager.connection.lifecycle(WebSocketManagerNames, from the naming library); the state is never part of the topic or the type (openspec websocket-proxy, Connection Lifecycle Events).
- ConnectionStoreOptions
Tuning for connection record state-store TTL. The WSM sets a Dapr
ttlInSecondson every connection record write. ConnectionHeartbeatService refreshes it for every locally-owned, connected connection every TTL/3 seconds (floored at 10s), independent of send traffic; a successfulSend/SendRawalso refreshes it as a side effect. Records whose TTL elapses (e.g. a pod that died without a clean disconnect, so nothing is heartbeating them anymore) are removed by the state store without explicit reclaimer intervention.
- WebSocketManagerNames
WebSocketManager's own names, from the
virtufin.service.websocketmanagernaming fragment (embedded;naming/virtufin.service.websocketmanager.yaml) via LoadFrom(params Assembly[]), which is NativeAOT-safe. A connection's own topic is the caller's and is passed through as given.