C# Class TSystems.RELOAD.Usage.UsageManager

Afficher le fichier Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Méthodes publiques

Свойство Type Description
localNode TSystems.RELOAD.Topology.Node
m_DispatcherQueue Microsoft.Ccr.Core.DispatcherQueue
m_ReloadConfig ReloadConfig

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AppProcedure ( List responses ) : void

Method Details

CreateUsage() public méthode

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
Résultat IUsage

GetDataModelfromKindId() public méthode

Returns the DataModel from a given KindId
public GetDataModelfromKindId ( UInt32 kindId ) : ReloadGlobals.DataModel
kindId System.UInt32 The KindId of the Kind
Résultat ReloadGlobals.DataModel

GetUsageFromReader() public méthode

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
Résultat IUsage

Init() public méthode

Inits the Usage Manager.
public Init ( System.Machine machine ) : void
machine System.Machine The state machine for RELOAD overlay.
Résultat void

RegisterUsage() public méthode

public RegisterUsage ( IUsage usage ) : void
usage IUsage
Résultat void

SupportedKinds() public méthode

public SupportedKinds ( ) : List
Résultat List

createSpecifier() public méthode

Creates a StoredDataSpecifier depending on the requested RELOAD Kind
public createSpecifier ( UInt32 kindId ) : StoredDataSpecifier
kindId System.UInt32 The Kind-ID of the requested data
Résultat TSystems.RELOAD.Storage.StoredDataSpecifier

Property Details

localNode public_oe property

public Node,TSystems.RELOAD.Topology localNode
Résultat TSystems.RELOAD.Topology.Node

m_DispatcherQueue public_oe property

public DispatcherQueue,Microsoft.Ccr.Core m_DispatcherQueue
Résultat Microsoft.Ccr.Core.DispatcherQueue

m_ReloadConfig public_oe property

public ReloadConfig m_ReloadConfig
Résultat ReloadConfig