|
|
|
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 SyncML profile.
Defined in RSyncMLProfileBase:
Close()Closes this handle.CreatorId()constGets the ID of the creator of the profile referenced by this handle.DeleteAllowed()constTests if the user is allowed to delete the profileDeleteConnectionL(TSmlConnectionId)Deletes the connection identified by aId from this profile.DisplayName()constGets the human-readable display name of the profile referenced by this handle.Identifier()constGets the ID of the profile referenced by this handle.IsCancellable()constTests if the profile is 'cancellable' or not. Any attempt to cancel a job belong...IsLocked()constTests if the profile is 'locked' or can be modified.IsReadOnly()constTests if the profile is open for read and write access.IsSilent()constTests if the profile is 'silent' or not. Any jobs associated with a 'silent' pro...ListConnectionsL(RArray< TSmlConnectionId > &)constGets a list of IDs of connections defined for this profile.Password()constGets the password for the account on the remote server.ProtocolVersionL()constGets the protocol version used by the remote server.SanUserInteraction()constReturns status of server alert notification processing for this profile. ServerId()constGets the id for the remote server.ServerPassword()constGets the password for the remote server.SetCreatorId(TSmlCreatorId)Sets the client creator ID of the profile referenced by this handle.SetDisplayNameL(const TDesC &)Sets the human-readable display name of the profile referenced by this handle.SetPasswordL(const TDesC8 &)Sets the password for the account on the remote server.SetProtocolVersionL(TSmlProtocolVersion)Set the protocol version of the profileSetSanUserInteraction(TSmlServerAlertedAction)Sets server alert notification processing action for this profile. SetServerIdL(const TDesC8 &)Sets the ID for the remote server.SetServerPasswordL(const TDesC8 &)Sets the password for the remote server.SetSilentL(TBool)Sets a profile to be 'silent' or not. Any jobs associated with a 'silent' profil...SetUserNameL(const TDesC8 &)Sets the user name for the account on the remote server.Type()constGets the type of the profile referenced by this handle.UpdateL()Stores any changes made to the profile data, including tasks and connections.UserName()constGets the user name for the account on the remote server.Inherited from RSubSessionBase:
CloseSubSession(TInt)Closes the sub-session.CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)Creates a new sub-session within an existing session. The new sub-session takes ...CreateSubSession(const RSessionBase &,TInt)Creates a new sub-session within an existing session.CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)Creates a new sub-session within an existing session.Send(TInt)constSends a blind message to the server - no reply is expected.Send(TInt,const TIpcArgs &)constSends a blind message to the server - no reply is expected.SendReceive(TInt)constSends a message to the server and waits synchronously for a reply.SendReceive(TInt,TRequestStatus &)constSends a message to the server and waits asynchronously for the reply.SendReceive(TInt,const TIpcArgs &)constSends a message to the server and waits synchronously for a reply.SendReceive(TInt,const TIpcArgs &,TRequestStatus &)constSends a message to the server and waits asynchronously for the reply.Session()constReturns a copy of the session associated with this sub-session.SubSessionHandle()constGets the sub-session handle number.RSyncMLDataSyncProfileHandle to a SyncML Data Synchronisation profile.RSyncMLDevManProfileHandle to a SyncML Device Management profile.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.
|
IMPORT_C TBool IsLocked() const;
Tests if the profile is 'locked' or can be modified.
|
IMPORT_C TBool IsCancellable() const;
Tests if the profile is 'cancellable' or not. Any attempt to cancel a job belonging to a 'non-cancellable' profile will fail.
|
IMPORT_C void SetSilentL(TBool aSilent);
Sets a profile to be 'silent' or not. Any jobs associated with a 'silent' profile will not generate normal progress events.
|
|
IMPORT_C TBool IsSilent() const;
Tests if the profile is 'silent' or not. Any jobs associated with a 'silent' profile will not generate normal progress events.
|