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 voidClose()
IMPORT_C TSmlCreatorIdCreatorId()
IMPORT_C TBoolDeleteAllowed()
IMPORT_C voidDeleteConnectionByConnectionIdL(TSmlConnectionId)
IMPORT_C voidDeleteConnectionL(TSmlTransportId)
IMPORT_C const TDesC &DisplayName()
IMPORT_C TSmlProfileIdIdentifier()
IMPORT_C TBoolIsReadOnly()
IMPORT_C voidListConnectionsByConnectionIdL(RArray< TSmlConnectionId > &)
IMPORT_C voidListConnectionsL(RArray< TSmlTransportId > &)
IMPORT_C const TDesC8 &Password()
IMPORT_C TIntProfileLocked(TBool, TBool)
IMPORT_C TSmlProtocolVersionProtocolVersion()
IMPORT_C TSmlServerAlertedActionSanUserInteraction()
IMPORT_C const TDesC8 &ServerId()
IMPORT_C const TDesC8 &ServerPassword()
const RSessionBaseSession()
IMPORT_C voidSetCreatorId(TSmlCreatorId)
IMPORT_C voidSetDisplayNameL(const TDesC &)
IMPORT_C voidSetPasswordL(const TDesC8 &)
IMPORT_C voidSetProtocolVersionL(TSmlProtocolVersion)
IMPORT_C voidSetSanUserInteractionL(TSmlServerAlertedAction)
IMPORT_C voidSetServerIdL(const TDesC8 &)
IMPORT_C voidSetServerPasswordL(const TDesC8 &)
IMPORT_C voidSetUserNameL(const TDesC8 &)
IMPORT_C TSmlUsageTypeType()
IMPORT_C voidUpdateL()
IMPORT_C const TDesC8 &UserName()
Protected Member Functions
RSyncMLProfileBase()
voidGetProfileL(TInt)
voidReceiveArrayL(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 voidClose()

CreatorId()

IMPORT_C TSmlCreatorIdCreatorId()const

DeleteAllowed()

IMPORT_C TBoolDeleteAllowed()const

DeleteConnectionByConnectionIdL(TSmlConnectionId)

IMPORT_C voidDeleteConnectionByConnectionIdL(TSmlConnectionId)

Parameters

TSmlConnectionId

DeleteConnectionL(TSmlTransportId)

IMPORT_C voidDeleteConnectionL(TSmlTransportId)

Parameters

TSmlTransportId

DisplayName()

IMPORT_C const TDesC &DisplayName()const

GetProfileL(TInt)

voidGetProfileL(TIntaSize)[protected]

Parameters

TInt aSize

Identifier()

IMPORT_C TSmlProfileIdIdentifier()const

IsReadOnly()

IMPORT_C TBoolIsReadOnly()const

ListConnectionsByConnectionIdL(RArray< TSmlConnectionId > &)

IMPORT_C voidListConnectionsByConnectionIdL(RArray< TSmlConnectionId > &)const

Parameters

RArray< TSmlConnectionId > &

ListConnectionsL(RArray< TSmlTransportId > &)

IMPORT_C voidListConnectionsL(RArray< TSmlTransportId > &)const

Parameters

RArray< TSmlTransportId > &

Password()

IMPORT_C const TDesC8 &Password()const

ProfileLocked(TBool, TBool)

IMPORT_C TIntProfileLocked(TBoolaReadWriteValue,
TBoolaLockValue
)const
Set Reset Profile lock Not supported for DS profiles
Since
3.23

Parameters

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

ProtocolVersion()

IMPORT_C TSmlProtocolVersionProtocolVersion()const

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

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

Parameters

RArray< TInt > &
TInt
TInt

SanUserInteraction()

IMPORT_C TSmlServerAlertedActionSanUserInteraction()const

ServerId()

IMPORT_C const TDesC8 &ServerId()const

ServerPassword()

IMPORT_C const TDesC8 &ServerPassword()const

Session()

const RSessionBaseSession()

SetCreatorId(TSmlCreatorId)

IMPORT_C voidSetCreatorId(TSmlCreatorId)

Parameters

TSmlCreatorId

SetDisplayNameL(const TDesC &)

IMPORT_C voidSetDisplayNameL(const TDesC &)

Parameters

const TDesC &

SetPasswordL(const TDesC8 &)

IMPORT_C voidSetPasswordL(const TDesC8 &)

Parameters

const TDesC8 &

SetProtocolVersionL(TSmlProtocolVersion)

IMPORT_C voidSetProtocolVersionL(TSmlProtocolVersion)

SetSanUserInteractionL(TSmlServerAlertedAction)

IMPORT_C voidSetSanUserInteractionL(TSmlServerAlertedAction)

SetServerIdL(const TDesC8 &)

IMPORT_C voidSetServerIdL(const TDesC8 &)

Parameters

const TDesC8 &

SetServerPasswordL(const TDesC8 &)

IMPORT_C voidSetServerPasswordL(const TDesC8 &)

Parameters

const TDesC8 &

SetUserNameL(const TDesC8 &)

IMPORT_C voidSetUserNameL(const TDesC8 &)

Parameters

const TDesC8 &

Type()

IMPORT_C TSmlUsageTypeType()const

UpdateL()

IMPORT_C voidUpdateL()

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]