C# Класс TSystems.RELOAD.Usage.UsageManager

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
localNode TSystems.RELOAD.Topology.Node
m_DispatcherQueue Microsoft.Ccr.Core.DispatcherQueue
m_ReloadConfig ReloadConfig

Открытые методы

Метод Описание
CreateUsage ( Usage_Code_Point usageCode, int type ) : IUsage

This method creates Usages. Use this if your intending to Store or Delete Kinds in the Overlay. If type and arguments are null, it returns an empty usage obejct of the specified Usage

GetDataModelfromKindId ( UInt32 kindId ) : ReloadGlobals.DataModel

Returns the DataModel from a given KindId

GetUsageFromReader ( ReloadMessage rm, BinaryReader reader, long usage_length, UInt32 kindId ) : IUsage

Deserializes a Usage object from wire.

Init ( System.Machine machine ) : void

Inits the Usage Manager.

RegisterUsage ( IUsage usage ) : void

SupportedKinds ( ) : List
createSpecifier ( UInt32 kindId ) : StoredDataSpecifier

Creates a StoredDataSpecifier depending on the requested RELOAD Kind

Приватные методы

Метод Описание
AppProcedure ( List responses ) : void

Описание методов

CreateUsage() публичный Метод

This method creates Usages. Use this if your intending to Store or Delete Kinds in the Overlay. If type and arguments are null, it returns an empty usage obejct of the specified Usage
public CreateUsage ( Usage_Code_Point usageCode, int type ) : IUsage
usageCode Usage_Code_Point
type int
Результат IUsage

GetDataModelfromKindId() публичный Метод

Returns the DataModel from a given KindId
public GetDataModelfromKindId ( UInt32 kindId ) : ReloadGlobals.DataModel
kindId System.UInt32 The KindId of the Kind
Результат ReloadGlobals.DataModel

GetUsageFromReader() публичный Метод

Deserializes a Usage object from wire.
public GetUsageFromReader ( ReloadMessage rm, BinaryReader reader, long usage_length, UInt32 kindId ) : IUsage
rm TSystems.RELOAD.Transport.ReloadMessage
reader System.IO.BinaryReader The reader. It MUST be desesiralied until the DataValue struct including the Boolean exists value.
usage_length long
kindId System.UInt32
Результат IUsage

Init() публичный Метод

Inits the Usage Manager.
public Init ( System.Machine machine ) : void
machine System.Machine The state machine for RELOAD overlay.
Результат void

RegisterUsage() публичный Метод

public RegisterUsage ( IUsage usage ) : void
usage IUsage
Результат void

SupportedKinds() публичный Метод

public SupportedKinds ( ) : List
Результат List

createSpecifier() публичный Метод

Creates a StoredDataSpecifier depending on the requested RELOAD Kind
public createSpecifier ( UInt32 kindId ) : StoredDataSpecifier
kindId System.UInt32 The Kind-ID of the requested data
Результат TSystems.RELOAD.Storage.StoredDataSpecifier

Описание свойств

localNode публичное свойство

public Node,TSystems.RELOAD.Topology localNode
Результат TSystems.RELOAD.Topology.Node

m_DispatcherQueue публичное свойство

public DispatcherQueue,Microsoft.Ccr.Core m_DispatcherQueue
Результат Microsoft.Ccr.Core.DispatcherQueue

m_ReloadConfig публичное свойство

public ReloadConfig m_ReloadConfig
Результат ReloadConfig