|
| CThttp (String baseCTOutputFolderI, int numBlocksPerSegmentI, bool bOutputTimesAreMillisI, bool bPackI, bool bZipI, String ctWebHostI="http://localhost:8000") |
| Constructor. More...
|
|
override void | close () |
| Close the source.
|
|
| CThttp_base (String baseCTOutputFolderI, int numBlocksPerSegmentI, bool bOutputTimesAreMillisI, bool bPackI, bool bZipI, String ctWebHostI) |
| Constructor. More...
|
|
void | login (String userI, String pwI) |
| Create user credential for all subsequent HTTP PUT operations using the given username and password. More...
|
|
override void | close () |
| Close the source.
|
|
| CTwriter (String baseCTOutputFolderI, int numBlocksPerSegmentI, int numSegmentsToKeepI, bool bOutputTimesAreMillisI, bool bPackI, bool bZipI, bool bDeleteOldDataAtStartupI, bool bVerifyOutputFolderI=true) |
| Constructor. More...
|
|
String | getBaseCTOutputFolder () |
| Get baseCTOutputFolder. More...
|
|
void | UseTmpFileForZipData (bool bUseTmpZipFilesI) |
| If writing output ZIP files, should we write data first to a temporary file (".tmp") and then rename this to the final ".zip" file? If false, we write directly to the output ZIP file using (what is intended to be) a quick stream operation; this has the possible advantage that an extra intermediary ".tmp" file isn't created temporarily. More...
|
|
void | putData (string[] channamesI, double[] dataI) |
| Store an additional double data point in each of the specified channels. More...
|
|
void | putData (string[] channamesI, float[] dataI) |
| Store an additional single-precision float data point in each of the specified channels. More...
|
|
void | putData (string channameI, String dataI) |
| Store a new string in the given channel. More...
|
|
void | putData (string channameI, double dataI) |
| Store a double-precision float data value for the given channel. More...
|
|
void | putData (string channameI, float dataI) |
| Store a single-precision float data value for the given channel. More...
|
|
void | putData (string channameI, long dataI) |
| Store a long integer data value for the given channel. More...
|
|
void | putData (string channameI, int dataI) |
| Store an integer data value for the given channel. More...
|
|
void | putData (string channameI, short dataI) |
| Store a short integer data value for the given channel. More...
|
|
void | putData (string channameI, char dataI) |
| Store a character data value for the given channel. More...
|
|
void | putData (string channameI, byte[] dataI) |
| Store binary data array for the given channel. More...
|
|
long | setTime () |
| Set time for subsequent putData(). This method simply calls setTime(<current_time_millis>). More...
|
|
void | setTime (long timeI) |
| Set time for subsequent putData(). To switch back to automatic timestamp mode, call this method with the argument equal to -1. More...
|
|
void | setTime (double timeI) |
| Set time for subsequent putData(). To switch back to automatic timestamp mode, call this method with the argument equal to -1.0. More...
|
|
void | setAsync (bool bAsyncI) |
| Specify whether flushes should be executed asynchronously. More...
|
|
void | flush () |
| Write out all data that has been queued up for this block.
|
|
Child class of CThttp_base; uses WebClient to perform HTTP PUT.
CThttp