nn::nex::DataStoreClient::PostObject Member Function

Syntax

virtual qBool PostObject(
     ProtocolCallContext * pContext,
     const DataStorePostParam & param,
     qUnsignedInt64 * dataId,
     DataStorePostObjectEventListener * eventListener
);

Parameters

Name Description
in pContext Call information.
in param Detailed information.
out dataId Data ID assigned to uploaded data. The data ID is a unique value within the game.
in eventListener Listener object that specifies the data to upload.

Return Values



Value Description
true RMC call initialization succeeded.
false Failure.

Description

Uploads data to the DataStore server.

The HTTP library must be initialized by calling the nn::http::Initialize function before this function is called. If you call this function, a thread for communication is created, regardless of the NEX thread mode. The data to upload is specified by the callback function called by eventListener. The data that are uploaded using this function are stored in a special region of the storage server, separate from the metadata.

Revision History

2011/06/23
Noted that if you call this function, a thread for communication is created regardless of the NEX thread mode.
2011/04/25
Added a statement that it can update only the data uploaded by the local system.
2011/03/03
Added a description that the data ID is unique within the game.
2011/01/27
Initial version.

CONFIDENTIAL