Class WebSocketManagerNames
- Namespace
- Virtufin.WebSocketManager.Configuration
- Assembly
- Virtufin.WebSocketManager.dll
WebSocketManager's own names, from the virtufin.service.websocketmanager
naming 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.
public static class WebSocketManagerNames
- Inheritance
-
WebSocketManagerNames
- Inherited Members
Fields
ConnectionIndexKey
sys.websocketmanager.connection.index: the list of connections.
public static readonly string ConnectionIndexKey
Field Value
ConnectionLifecycleTopic
sys.websocketmanager.connection.lifecycle; the state is in the payload.
public static readonly string ConnectionLifecycleTopic
Field Value
ConnectionLifecycleType
com.virtufin.websocketmanager.connection.lifecycle.
public static readonly string ConnectionLifecycleType
Field Value
MessageType
com.virtufin.websocketmanager.connection.message: a relayed frame, published on the connection's topic.
public static readonly string MessageType
Field Value
Registry
The composed registry: virtufin.core plus WebSocketManager's fragment.
public static readonly NameRegistry Registry
Field Value
- NameRegistry
Service
The service segment of WebSocketManager's names and source URN.
public const string Service = "websocketmanager"
Field Value
Methods
ConnectionKey(string)
sys.websocketmanager.connection.<id>: one connection's record.
public static string ConnectionKey(string connectionId)
Parameters
connectionIdstring
Returns
ConnectionSubject(string)
connection/<id>: the subject of a connection's lifecycle events.
public static string ConnectionSubject(string connectionId)
Parameters
connectionIdstring
Returns
InstanceKey(string)
sys.websocketmanager.instance.<instance>: the connections one instance owns.
public static string InstanceKey(string instanceId)
Parameters
instanceIdstring
Returns
Source(string?)
urn:com.virtufin:websocketmanager[:<instance>].
public static string Source(string? instance = null)
Parameters
instancestring