C# 클래스 TSystems.RELOAD.Machine

RELOAD main worker thread, major state machine is implemented here
파일 보기 프로젝트 열기: RELOAD-NET/RELOAD.NET

공개 메소드들

메소드 설명
CommandCheckTask ( ) : IEnumerator
CommandTask ( String sCommand ) : IEnumerator
Contains ( List list, List bsslist ) : bool
Finish ( ) : void
GatherCommands ( string command, Usage_Code_Point codePoint, int type ) : void

This method gathers all Kinds that will be sent withon one single request. @precondition: The storing data MUST have the same Resource Name. @precondition: The the command MUST be the same. (e.g., ONLY store | fetch)

GatherCommandsInQueue ( string command, Usage_Code_Point codePoint, int type, NodeId viaGateway, bool CommandFinished = false ) : void
Init ( ) : bool
Machine ( ) : System
Maintenance ( ) : IEnumerator
Reporting ( ) : IEnumerator
SendCommand ( String sCommand ) : void
SetTracer ( ) : void
StartWorker ( ) : void
StopWorker ( ) : void
Store ( ) : void
StoreTask ( ) : IEnumerator
UpdateCycle ( ) : IEnumerator

비공개 메소드들

메소드 설명
BootStrapConfig ( ) : void
CheckObsoletConnections ( ) : void
Completed ( object sender, RunWorkerCompletedEventArgs e ) : void
DoWork ( object sender, DoWorkEventArgs e ) : void
FixFingers ( ) : void
ForceOnline ( ) : void
IgnoreSSLErrors ( ) : void
InitUsageManager ( ) : void
PrintNodeInfo ( TopologyPlugin topology, bool extended ) : void
ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
SendPingToAllNeighbors ( ) : void
onStateUpdate ( ReloadConfig state ) : void

메소드 상세

CommandCheckTask() 공개 메소드

public CommandCheckTask ( ) : IEnumerator
리턴 IEnumerator

CommandTask() 공개 메소드

public CommandTask ( String sCommand ) : IEnumerator
sCommand String
리턴 IEnumerator

Contains() 공개 메소드

public Contains ( List list, List bsslist ) : bool
list List
bsslist List
리턴 bool

Finish() 공개 메소드

public Finish ( ) : void
리턴 void

GatherCommands() 공개 메소드

This method gathers all Kinds that will be sent withon one single request. @precondition: The storing data MUST have the same Resource Name. @precondition: The the command MUST be the same. (e.g., ONLY store | fetch)
public GatherCommands ( string command, Usage_Code_Point codePoint, int type ) : void
command string Store | Fetch
codePoint Usage_Code_Point The Identifier for the Usage to be performed
type int Some Usages define differents types (see sip usage). Place here that value in Usage spec.
리턴 void

GatherCommandsInQueue() 공개 메소드

public GatherCommandsInQueue ( string command, Usage_Code_Point codePoint, int type, NodeId viaGateway, bool CommandFinished = false ) : void
command string
codePoint Usage_Code_Point
type int
viaGateway TSystems.RELOAD.Utils.NodeId
CommandFinished bool
리턴 void

Init() 공개 메소드

public Init ( ) : bool
리턴 bool

Machine() 공개 메소드

public Machine ( ) : System
리턴 System

Maintenance() 공개 메소드

public Maintenance ( ) : IEnumerator
리턴 IEnumerator

Reporting() 공개 메소드

public Reporting ( ) : IEnumerator
리턴 IEnumerator

SendCommand() 공개 메소드

public SendCommand ( String sCommand ) : void
sCommand String
리턴 void

SetTracer() 공개 메소드

public SetTracer ( ) : void
리턴 void

StartWorker() 공개 메소드

public StartWorker ( ) : void
리턴 void

StopWorker() 공개 메소드

public StopWorker ( ) : void
리턴 void

Store() 공개 메소드

public Store ( ) : void
리턴 void

StoreTask() 공개 메소드

public StoreTask ( ) : IEnumerator
리턴 IEnumerator

UpdateCycle() 공개 메소드

public UpdateCycle ( ) : IEnumerator
리턴 IEnumerator