nn::nex::DataStoreGetObjectEventListener::ProcessResponse Member Function

Syntax

virtual qBool ProcessResponse(
     const void * buffer,
     qUnsignedInt32 bufferSize
) = 0;

Parameters

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.

Return Values

Return 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.

Description

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.

Revision History

2014/04/09
Added a note that the download might fail if false is returned for 10 seconds or longer.
2012/01/27
Added that you can use the DataStoreClient::SetRelayBufferSize function to set a maximum size for the passed buffer.
2011/01/27
Initial version.

CONFIDENTIAL