class MSmlSyncRelationship |
SyncML store interface exposed to Database Adaptor implementations. This interface may be used by a DBA to store change information for a Data Store, in the context of a sync relationship with a remote Data Store. It is vital for correct synchronisation behaviour that change information is stored separately for different remote Data Stores. This interface facilitates this by providing streams that are stored against specific Sync Tasks, and a unique key that identifies the sync relationship.
Public Member Functions | |
---|---|
TBool | IsStreamPresentL ( TUid ) |
void | OpenReadStreamLC ( RReadStream &, TUid ) |
void | OpenWriteStreamLC ( RWriteStream &, TUid ) |
TSmlSyncTaskKey | SyncTaskKey () |
TBool | IsStreamPresentL | ( | TUid | aStreamUid | ) | const [pure virtual] |
Tests if the specified stream identified exists in the store.
TUid aStreamUid | The stream UID |
void | OpenReadStreamLC | ( | RReadStream & | aReadStream, |
TUid | aStreamUid | |||
) | [pure virtual] |
Opens a specified stream for reading, and places an item on the cleanup stack to close it.
RReadStream & aReadStream | On return, an open read stream |
TUid aStreamUid | The UID of the stream to open for reading. |
void | OpenWriteStreamLC | ( | RWriteStream & | aWriteStream, |
TUid | aStreamUid | |||
) | [pure virtual] |
Opens the specified stream, or creates a new one if it does not exist, and places an item on the cleanup stack to close it.
RWriteStream & aWriteStream | On return, an open write stream |
TUid aStreamUid | The UID of the stream to open or create |
TSmlSyncTaskKey | SyncTaskKey | ( | ) | const [pure virtual] |
Returns the unique identifier for the synchronisation relationship.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.