Click or drag to resize

DocumentsOnDemandsetWaitUntilDoneMode Method

Set whether or not to wait until a xmldataframe is done downloading and parsing before returning data. If not in waitUntilDone mode, when a DataRequest call is made a XmlDataFrame is immediately returned representing the response from OnDemand servers as it arrives. The XmlDataFrame should not be accessed until it's isDone member variable is set to true
Examples
XmlDataFrame df = new XmlDataFrame(log, config, new SearchAndCountParseStrategy(parent.useMatlabFormat()));
while(!df.isDoneParsing()) {
    Thread.Sleep(20);
}
// access the data frame here

Namespace:  Kratos_3.RunTimePlatform
Assembly:  Kratos_3 (in Kratos_3.dll) Version: 3.6.2.0 (3.6.2.0)
Syntax
public void setWaitUntilDoneMode(
	bool waitUntilDone
)

Parameters

waitUntilDone
Type: SystemBoolean
See Also