Method | Description | |
---|---|---|
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 | |
return | void |
public SerializeData ( |
||
dataLog | Datalog to be serialized | |
return | void |
public StartLogFile ( string fn ) : void | ||
fn | string | Filename for log file |
return | void |