nn::nex::DataStoreClient::UpdateObject Member Function

Syntax

virtual qBool UpdateObject(
     ProtocolCallContext * pContext,
     const DataStoreUpdateParam & param,
     DataStorePostObjectEventListener * eventListener
);

virtual qBool UpdateObject(
     ProtocolCallContext * pContext,
     const DataStoreUpdateParam & param,
     const void * buffer,
     qBool useInternalBuffer = true
);

List of Overloaded Member Functions

UpdateObject ( ProtocolCallContext *, const DataStoreUpdateParam &, DataStorePostObjectEventListener * ) Replaces data uploaded to the DataStore server.
UpdateObject ( ProtocolCallContext *, const DataStoreUpdateParam &, const void *, qBool ) Replaces data uploaded to the DataStore server.

Description of UpdateObject ( ProtocolCallContext *, const DataStoreUpdateParam &, DataStorePostObjectEventListener * )

You must initialize the HTTP library 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 from eventListener. The data ID does not change. When this function is called on data uploaded using DataStoreClient::PostObject, which only updates metadata, it returns QERROR(DataStore, OperationNotAllowed). Use DataStoreClient::ChangeMeta to make changes to metadata. Only data that has update permission can be updated.

Description of UpdateObject ( ProtocolCallContext *, const DataStoreUpdateParam &, const void *, qBool )

You must initialize the HTTP library 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 from buffer. The data ID does not change. When this function is called on data uploaded using DataStoreClient::PostObject, which only updates metadata, it returns QERROR(DataStore, OperationNotAllowed). Use DataStoreClient::ChangeMeta to make changes to metadata. Only data that has update permission can be updated.


CONFIDENTIAL