nn::nex::DataStoreClient::SetRelayBufferSize Member Function

Syntax

void SetRelayBufferSize(
     qUnsignedInt32 relayBufferSize
);

Parameters

Name Description
in relayBufferSize The maximum size for data when passed.

Return Values

None.

Description

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.

Revision History

2012/01/27
Incorporated the fact that this setting also affects the use of the DataStorePostObjectEventListener::PostChunkedBuffer function.
2011/08/30
Initial version.

CONFIDENTIAL