Location:
SyncMLClient.h
Link against: smlclient.lib
class RSyncMLProfileBase : public RSubSessionBase;
Base class for a handle to a SyncML
profile.
A profile encapsulates a relationship with a single SyncML
remote server for either Device Management or Data Synchronisation.
Not intended for user derivation. Derived classes:
RSubSessionBase
- Client-side handle to a sub-session
RSyncMLProfileBase
- Base class for a handle to a
Defined in RSyncMLProfileBase
:
Close()
, CreatorId()
, DeleteAllowed()
, DeleteConnectionL()
, DisplayName()
, Identifier()
, IsReadOnly()
, ListConnectionsL()
, Password()
, ProtocolVersionL()
, SanUserInteraction()
, ServerId()
, ServerPassword()
, SetCreatorId()
, SetDisplayNameL()
, SetPasswordL()
, SetProtocolVersionL()
, SetSanUserInteraction()
, SetServerIdL()
, SetServerPasswordL()
, SetUserNameL()
, Type()
, UpdateL()
, UserName()
Inherited from RSubSessionBase
:
CloseSubSession()
,
CreateAutoCloseSubSession()
,
CreateSubSession()
,
Send()
,
SendReceive()
,
Session()
,
SubSessionHandle()
IMPORT_C void SetCreatorId(TSmlCreatorId);
The handle is open.
Sets the client creator ID of the profile referenced by this handle.
This ID is for use by clients that wish to be able to identify specific profiles. The ID is typically the application UID, which ensures uniqueness.
|
IMPORT_C void SetDisplayNameL(const TDesC &);
The handle is open.
Sets the human-readable display name of the profile referenced by this handle.
|
|
IMPORT_C void SetUserNameL(const TDesC8 &);
The handle is open.
Sets the user name for the account on the remote server.
|
|
IMPORT_C void SetPasswordL(const TDesC8 &);
The handle is open.
Sets the password for the account on the remote server.
|
|
IMPORT_C void SetServerIdL(const TDesC8 &);
The handle is open.
Sets the ID for the remote server.
|
|
IMPORT_C void SetServerPasswordL(const TDesC8 &);
The handle is open.
Sets the password for the remote server.
|
|
IMPORT_C void SetProtocolVersionL(TSmlProtocolVersion);
The handle is open.
Set the protocol version of the profile
|
|
IMPORT_C void DeleteConnectionL(TSmlConnectionId);
The handle is open for read and write access.
Deletes the connection identified by aId from this profile.
|
|
IMPORT_C TSmlProfileId Identifier() const;
The handle is open.
Gets the ID of the profile referenced by this handle.
|
IMPORT_C TSmlUsageType Type() const;
The handle is open.
Gets the type of the profile referenced by this handle.
|
IMPORT_C TSmlCreatorId CreatorId() const;
The handle is open.
Gets the ID of the creator of the profile referenced by this handle.
This ID is for use by clients that wish to be able to identify specific profiles.
|
IMPORT_C const TDesC &DisplayName() const;
The handle is open.
Gets the human-readable display name of the profile referenced by this handle.
|
IMPORT_C const TDesC8 &UserName() const;
The handle is open.
Gets the user name for the account on the remote server.
|
IMPORT_C const TDesC8 &Password() const;
The handle is open.
Gets the password for the account on the remote server.
|
IMPORT_C const TDesC8 &ServerId() const;
The handle is open.
Gets the id for the remote server.
|
IMPORT_C const TDesC8 &ServerPassword() const;
The handle is open.
Gets the password for the remote server.
|
IMPORT_C TSmlProtocolVersion ProtocolVersionL() const;
The handle is open.
Gets the protocol version used by the remote server.
|
IMPORT_C void ListConnectionsL(RArray< TSmlConnectionId > &) const;
The handle is open.
Gets a list of IDs of connections defined for this profile.
|
|
IMPORT_C TBool IsReadOnly() const;
The handle is open.
Tests if the profile is open for read and write access.
|
IMPORT_C TBool DeleteAllowed() const;
The handle is open.
Tests if the user is allowed to delete the profile
|
IMPORT_C void UpdateL();
The handle is open for read and write access.
Stores any changes made to the profile data, including tasks and connections.
If creating a profile, this creates and assigns a valid ID for this profile.
IMPORT_C TSmlServerAlertedAction SanUserInteraction() const;
Returns status of server alert notification processing for this profile.
|
IMPORT_C void SetSanUserInteraction(TSmlServerAlertedAction aAction);
Sets server alert notification processing action for this profile.
|