Table of Contents

Class PublishedView

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

A View that has been published for client subscriptions. Wraps a ViewBase with subscription metadata.

public sealed class PublishedView
Inheritance
PublishedView
Inherited Members

Remarks

Shared Views use a single ViewBase instance for all subscribers. The delta is computed once and the serialized payload is memcpy'd to each client's send buffer.

Per-client Views use a Typhon.Engine.PublishedView.ViewFactory that creates a View per subscriber, parameterized by ClientContext.

Properties

IsShared

True if this is a shared View (single instance, all clients see same data).

public bool IsShared { get; }

Property Value

bool

Name

Human-readable name used by clients to identify this subscription.

public string Name { get; }

Property Value

string

Priority

Subscription priority for overload throttling.

public SubscriptionPriority Priority { get; }

Property Value

SubscriptionPriority

PublishedId

Published View identifier (derived from the underlying ViewBase.ViewId for shared, or auto-assigned for factories).

public ushort PublishedId { get; }

Property Value

ushort

SubscriberCount

Number of active subscribers.

public int SubscriberCount { get; }

Property Value

int