void SetRelayBufferSize( qUnsignedInt32 relayBufferSize );
Name | Description | |
---|---|---|
in | relayBufferSize | The maximum size for data when passed. |
Sets the maximum size for data when passed.
Sets a maximum value for the buffer size passed from the DataStoreGetObjectEventListener::ProcessResponse
function and the DataStorePostObjectEventListener::PostChunkedBuffer
function. The setting that is used is the setting in effect at the time when one of these functions is called. You can switch the size for each session by calling this function every time a function that results in HTTP communication is called. If this function is not called, the size becomes DataStoreConstants::DEFAULT_RELAY_BUFFER_SIZE
. Specify a value equal to or smaller than the size of the buffer for HTTP communication, set by the DataStoreClient::SetHttpBufferSize
function. If you specify a value that is larger than the size of the buffer for HTTP communication, then the size of the buffer for HTTP will take on the maximum value for data being passed.
DataStorePostObjectEventListener::PostChunkedBuffer
function.CONFIDENTIAL