Class TopicUpdateType

Topic update type.

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

Inheritance
System.Object
AdvancedEnum<TopicUpdateType>
TopicUpdateType
Inherited Members
AdvancedEnum<TopicUpdateType>.INTERNAL_ENUM
AdvancedEnum<TopicUpdateType>.Name
AdvancedEnum<TopicUpdateType>.ValueOf(String)
AdvancedEnum<TopicUpdateType>.Values()
AdvancedEnum<TopicUpdateType>.ToString()
Namespace: PushTechnology.ClientInterface.Client.Types
Assembly: Diffusion.Client.dll
Syntax
public class TopicUpdateType : AdvancedEnum<TopicUpdateType>

Fields

DELTA

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

Declaration
public static readonly TopicUpdateType DELTA
Field Value
Type Description
TopicUpdateType

A delta of change to the topic state.

SNAPSHOT

The content is a complete representation of topic state.

Declaration
public static readonly TopicUpdateType SNAPSHOT
Field Value
Type Description
TopicUpdateType

A complete representation of topic state.

Properties

Code

Returns the code of this update type.

Declaration
public byte Code { get; }
Property Value
Type Description
System.Byte

The code of this update type.

Methods

FromCode(Byte)

Returns the constant associated with the given code.

Declaration
public static TopicUpdateType FromCode(byte code)
Parameters
Type Name Description
System.Byte code

The type code supplied.

Returns
Type Description
TopicUpdateType

The constant associated with the given code.

Initialise()

Override to perform any initialisation tasks.

Declaration
public static void Initialise()
Back to top