Class PublishedView
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
Name
Human-readable name used by clients to identify this subscription.
public string Name { get; }
Property Value
Priority
Subscription priority for overload throttling.
public SubscriptionPriority Priority { get; }
Property Value
PublishedId
Published View identifier (derived from the underlying ViewBase.ViewId for shared, or auto-assigned for factories).
public ushort PublishedId { get; }
Property Value
SubscriberCount
Number of active subscribers.
public int SubscriberCount { get; }