메소드 | 설명 | |
---|---|---|
AddData ( |
Added dataLog queue to be serialized
|
|
CompleteAdding ( ) : void |
Method to notify the worker thread that no more data logs will be added to the queue. Complete serializing process when queue is empty.
|
|
EndLogFile ( ) : void |
Add closing braces to JSON file
|
|
JSONSerializer ( ) : System |
Constructor
|
|
ProcessDataQueue ( ) : void |
Worker method for processing the data queue
|
|
SerializeData ( |
Serialize dataLog to previously opened JSON file
|
|
StartLogFile ( string fn ) : void |
Method to prepare the JSON file for data to be added
|
|
StartProcessingData ( ) : void |
Method to begin the worker thread for serializing the queue of data logs
|
public AddData ( |
||
dataLog | Datalog to be serialized | |
리턴 | void |
public SerializeData ( |
||
dataLog | Datalog to be serialized | |
리턴 | void |
public StartLogFile ( string fn ) : void | ||
fn | string | Filename for log file |
리턴 | void |