virtual qBool ProcessResponse( const void * buffer, qUnsignedInt32 bufferSize ) = 0;
Name | Description | |
---|---|---|
in | buffer | Downloaded data. |
in | bufferSize | The buffer size. Pass a value between 1 and the value set by the DataStoreClient::SetRelayBufferSize function. |
true
when data is received normally, and false
when it could not complete. The download process continues if true
is returned. The same data is passed again the next time this function is called if false
is returned. You can implement flow control by returning false
, but the download might fail if you continue to do so for 10 seconds or longer. Splits up downloaded data and receives it.
When data is downloaded, this function is called multiple times until the asynchronous processing is complete. Note that the received data is not complete if asynchronous download processing fails midway or is canceled. You can use the DataStoreClient::SetRelayBufferSize
function to set a maximum size for the passed buffer.
false
is returned for 10 seconds or longer.
DataStoreClient::SetRelayBufferSize
function to set a maximum size for the passed buffer.CONFIDENTIAL