MSmlSyncRelationship Class Reference
#include
<syncml/SmlDataSyncDefs.h>
class MSmlSyncRelationship |
Detailed Description
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.
Member Function Documentation
IsStreamPresentL ( TUid )
TBool
| IsStreamPresentL | ( | TUid | aStreamUid | ) | const [pure virtual] |
Tests if the specified stream identified exists in the store.
Parameter | Description | aStreamUid | The stream UID |
Returns: Non-zero if the stream exists, otherwise EFalse.
OpenReadStreamLC ( RReadStream &, TUid )
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.
Parameter | Description | aReadStream | On return, an open read stream |
aStreamUid | The UID of the stream to open for reading. |
OpenWriteStreamLC ( RWriteStream &, TUid )
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.
Parameter | Description | aWriteStream | On return, an open write stream |
aStreamUid | The UID of the stream to open or create |
SyncTaskKey ( )
Returns the unique identifier for the synchronisation relationship.
Returns: A unique identifier for the sync relationship.