nn::nex::DataStoreClient::GetPersistenceInfo Member Function

Syntax

virtual qBool GetPersistenceInfo(
     ProtocolCallContext * pContext,
     qUnsignedInt32 pid,
     qUnsignedInt16 persistenceSlotId,
     DataStorePersistenceInfo * pPersistenceInfo
);

virtual qBool GetPersistenceInfo(
     ProtocolCallContext * pContext,
     qUnsignedInt32 pid,
     qVector< qUnsignedInt16 > persistenceSlotIds,
     qVector< DataStorePersistenceInfo > * pPersistenceInfos,
     qVector< qResult > * pResults = NULL
);

Overloaded Member Functions

GetPersistenceInfo ( ProtocolCallContext *, qUnsignedInt32, qUnsignedInt16, DataStorePersistenceInfo * ) Gets the persistence information.
GetPersistenceInfo ( ProtocolCallContext *, qUnsignedInt32, qVector< qUnsignedInt16 >, qVector< DataStorePersistenceInfo > *, qVector< qResult > * ) Gets the persistence information.

Description of GetPersistenceInfo ( ProtocolCallContext *, qUnsignedInt32, qUnsignedInt16, DataStorePersistenceInfo * )

Gets the persistence information for the specified principal ID and persistence slot ID. The asynchronous process fails when the specified persistence slot is not used or has already been made non-persistent, or if there is no access rights for the target data. Note that even if a valid data ID is obtained here, there is a possibility that when the data is accessed it will already be deleted.

Description of GetPersistenceInfo ( ProtocolCallContext *, qUnsignedInt32, qVector< qUnsignedInt16 >, qVector< DataStorePersistenceInfo > *, qVector< qResult > * )

Gets the persistence information for the specified principal ID and persistence slot ID. If the asynchronous process succeeds, the number of results as specified by persistenceSlotIds is stored in pPersistenceInfos and pResults in the order as specified by persistenceSlotIds. When the specified persistence slot is not used or has already been made non-persistent, or when there is no access rights for the target data, the objects included in pPersistenceInfos are invalid. You can check whether an object is valid or invalid with the DataStorePersistenceInfo::IsValid function. Note that even if a valid data ID is obtained here, there is a possibility that when the data is accessed it will already be deleted.


CONFIDENTIAL