C# 클래스 TSystems.RELOAD.Usage.UsageManager

파일 보기 프로젝트 열기: RELOAD-NET/RELOAD.NET 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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