RSyncMLProfileBase Class Reference

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: RSyncMLDataSyncProfile RSyncMLDevManProfile

Inherits from

Public Member Functions
IMPORT_C void Close ()
IMPORT_C TSmlCreatorId CreatorId ()
IMPORT_C TBool DeleteAllowed ()
IMPORT_C void DeleteConnectionByConnectionIdL ( TSmlConnectionId )
IMPORT_C void DeleteConnectionL ( TSmlTransportId )
IMPORT_C const TDesC & DisplayName ()
IMPORT_C TSmlProfileId Identifier ()
IMPORT_C TBool IsReadOnly ()
IMPORT_C void ListConnectionsByConnectionIdL ( RArray < TSmlConnectionId > &)
IMPORT_C void ListConnectionsL ( RArray < TSmlTransportId > &)
IMPORT_C const TDesC8 & Password ()
IMPORT_C TInt ProfileLocked ( TBool , TBool )
IMPORT_C TSmlProtocolVersion ProtocolVersion ()
IMPORT_C TSmlServerAlertedAction SanUserInteraction ()
IMPORT_C const TDesC8 & ServerId ()
IMPORT_C const TDesC8 & ServerPassword ()
const RSessionBase Session ()
IMPORT_C void SetCreatorId ( TSmlCreatorId )
IMPORT_C void SetDisplayNameL (const TDesC &)
IMPORT_C void SetPasswordL (const TDesC8 &)
IMPORT_C void SetProtocolVersionL ( TSmlProtocolVersion )
IMPORT_C void SetSanUserInteractionL ( TSmlServerAlertedAction )
IMPORT_C void SetServerIdL (const TDesC8 &)
IMPORT_C void SetServerPasswordL (const TDesC8 &)
IMPORT_C void SetUserNameL (const TDesC8 &)
IMPORT_C TSmlUsageType Type ()
IMPORT_C void UpdateL ()
IMPORT_C const TDesC8 & UserName ()
Protected Member Functions
RSyncMLProfileBase ()
void GetProfileL ( TInt )
void ReceiveArrayL ( RArray < TInt > &, TInt , TInt )
Private Member Functions
RSyncMLProfileBase (const RSyncMLProfileBase &)
RSyncMLProfileBase & operator= (const RSyncMLProfileBase &)
Inherited Functions
RSubSessionBase::CloseSubSession(TInt)
RSubSessionBase::CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::RSubSessionBase()
RSubSessionBase::Send(TInt)const
RSubSessionBase::Send(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt)const
RSubSessionBase::SendReceive(TInt,TRequestStatus &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSubSessionBase::Session()const
RSubSessionBase::SubSessionHandle()const
Protected Attributes
CClientSessionData * iData

Constructor & Destructor Documentation

RSyncMLProfileBase()

RSyncMLProfileBase ( ) [protected]

RSyncMLProfileBase(const RSyncMLProfileBase &)

RSyncMLProfileBase ( const RSyncMLProfileBase & ) [private]

Parameters

const RSyncMLProfileBase &

Member Functions Documentation

Close()

IMPORT_C void Close ( )

CreatorId()

IMPORT_C TSmlCreatorId CreatorId ( ) const

DeleteAllowed()

IMPORT_C TBool DeleteAllowed ( ) const

DeleteConnectionByConnectionIdL(TSmlConnectionId)

IMPORT_C void DeleteConnectionByConnectionIdL ( TSmlConnectionId )

DeleteConnectionL(TSmlTransportId)

IMPORT_C void DeleteConnectionL ( TSmlTransportId )

DisplayName()

IMPORT_C const TDesC & DisplayName ( ) const

GetProfileL(TInt)

void GetProfileL ( TInt aSize ) [protected]

Parameters

TInt aSize

Identifier()

IMPORT_C TSmlProfileId Identifier ( ) const

IsReadOnly()

IMPORT_C TBool IsReadOnly ( ) const

ListConnectionsByConnectionIdL(RArray< TSmlConnectionId > &)

IMPORT_C void ListConnectionsByConnectionIdL ( RArray < TSmlConnectionId > & ) const

ListConnectionsL(RArray< TSmlTransportId > &)

IMPORT_C void ListConnectionsL ( RArray < TSmlTransportId > & ) const

Password()

IMPORT_C const TDesC8 & Password ( ) const

ProfileLocked(TBool, TBool)

IMPORT_C TInt ProfileLocked ( TBool aReadWriteValue,
TBool aLockValue
) const
Set Reset Profile lock Not supported for DS profiles
Since
3.23

Parameters

TBool aReadWriteValue EFalse for reading ETrue for writing aLockValue EFalse for Unloacking ETrue for Locking the profile
TBool aLockValue

ProtocolVersion()

IMPORT_C TSmlProtocolVersion ProtocolVersion ( ) const

ReceiveArrayL(RArray< TInt > &, TInt, TInt)

void ReceiveArrayL ( RArray < TInt > & ,
TInt ,
TInt
) const [protected]

SanUserInteraction()

IMPORT_C TSmlServerAlertedAction SanUserInteraction ( ) const

ServerId()

IMPORT_C const TDesC8 & ServerId ( ) const

ServerPassword()

IMPORT_C const TDesC8 & ServerPassword ( ) const

Session()

const RSessionBase Session ( )

SetCreatorId(TSmlCreatorId)

IMPORT_C void SetCreatorId ( TSmlCreatorId )

Parameters

TSmlCreatorId

SetDisplayNameL(const TDesC &)

IMPORT_C void SetDisplayNameL ( const TDesC & )

Parameters

const TDesC &

SetPasswordL(const TDesC8 &)

IMPORT_C void SetPasswordL ( const TDesC8 & )

Parameters

const TDesC8 &

SetProtocolVersionL(TSmlProtocolVersion)

IMPORT_C void SetProtocolVersionL ( TSmlProtocolVersion )

Parameters

TSmlProtocolVersion

SetSanUserInteractionL(TSmlServerAlertedAction)

IMPORT_C void SetSanUserInteractionL ( TSmlServerAlertedAction )

Parameters

TSmlServerAlertedAction

SetServerIdL(const TDesC8 &)

IMPORT_C void SetServerIdL ( const TDesC8 & )

Parameters

const TDesC8 &

SetServerPasswordL(const TDesC8 &)

IMPORT_C void SetServerPasswordL ( const TDesC8 & )

Parameters

const TDesC8 &

SetUserNameL(const TDesC8 &)

IMPORT_C void SetUserNameL ( const TDesC8 & )

Parameters

const TDesC8 &

Type()

IMPORT_C TSmlUsageType Type ( ) const

UpdateL()

IMPORT_C void UpdateL ( )

UserName()

IMPORT_C const TDesC8 & UserName ( ) const

operator=(const RSyncMLProfileBase &)

RSyncMLProfileBase & operator= ( const RSyncMLProfileBase & ) [private]

Parameters

const RSyncMLProfileBase &

Member Data Documentation

CClientSessionData * iData

CClientSessionData * iData [protected]