Table of Contents

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

string

ConnectionLifecycleTopic

sys.websocketmanager.connection.lifecycle; the state is in the payload.

public static readonly string ConnectionLifecycleTopic

Field Value

string

ConnectionLifecycleType

com.virtufin.websocketmanager.connection.lifecycle.

public static readonly string ConnectionLifecycleType

Field Value

string

MessageType

com.virtufin.websocketmanager.connection.message: a relayed frame, published on the connection's topic.

public static readonly string MessageType

Field Value

string

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

string

Methods

ConnectionKey(string)

sys.websocketmanager.connection.<id>: one connection's record.

public static string ConnectionKey(string connectionId)

Parameters

connectionId string

Returns

string

ConnectionSubject(string)

connection/<id>: the subject of a connection's lifecycle events.

public static string ConnectionSubject(string connectionId)

Parameters

connectionId string

Returns

string

InstanceKey(string)

sys.websocketmanager.instance.<instance>: the connections one instance owns.

public static string InstanceKey(string instanceId)

Parameters

instanceId string

Returns

string

Source(string?)

urn:com.virtufin:websocketmanager[:<instance>].

public static string Source(string? instance = null)

Parameters

instance string

Returns

string