Table of Contents

Class TopicUpdateType

Namespace
PushTechnology.ClientInterface.Client.Types
Assembly
Diffusion.Client.dll

Topic update type.

This is used to indicate the type of update represented by the content which may vary according to topic type.

public class TopicUpdateType : AdvancedEnum<TopicUpdateType>
Inheritance
TopicUpdateType
Inherited Members

Fields

DELTA

The content represents a delta of change (or a patch) to the topic state.

public static readonly TopicUpdateType DELTA

Field Value

TopicUpdateType

A delta of change to the topic state.

SNAPSHOT

The content is a complete representation of topic state.

public static readonly TopicUpdateType SNAPSHOT

Field Value

TopicUpdateType

A complete representation of topic state.

Properties

Code

Returns the code of this update type.

public byte Code { get; }

Property Value

byte

The code of this update type.

Methods

FromCode(byte)

Returns the constant associated with the given code.

public static TopicUpdateType FromCode(byte code)

Parameters

code byte

The type code supplied.

Returns

TopicUpdateType

The constant associated with the given code.

Initialise()

Override to perform any initialisation tasks.

public static void Initialise()