CIMPSSAPSettingsBody Class Reference

class CIMPSSAPSettingsBody : public CBase

SAP settings container body.

Inherits from

  • CIMPSSAPSettingsBody
Public Member Functions
~CIMPSSAPSettingsBody()
TIMPSAccessGroup AccessGroup()
TUint32 AccessPoint()
TUint32 AuthorizationMode()
const TDesC &ClientId()
TInt DataSize()
voidDoResetLoginCount()
voidDoResetProtection()
voidDoSetAccessGroup(TIMPSAccessGroup)
voidDoSetLoginCount(TUint32)
voidDoSetUid(TUint32)
TBool EqualConnectionSettings(const CIMPSSAPSettingsBody &)
TBool EqualUserSettings(const CIMPSSAPSettingsBody &)
voidExternalizeVersionDataL(TInt, RWriteStream &)
const TDesC &HTTPProxyAddress()
TInt32 HTTPProxyPort()
const TDesC &HTTPProxyUserId()
const TDesC &HTTPProxyUserPassword()
TUint32 HighLevelServices()
voidIncreaseLoginCount()
voidInternalizeVersionDataL(TInt, RReadStream &)
TUint32 LoginCount()
CIMPSSAPSettingsBody *NewL()
TIMPSSapObjectID ObjectID()
TInt ObjectVersion()
voidProtectL(TIMPSSAPProtection)
TIMPSSAPProtection Protection()
voidReset()
const TDesC &SAPAddress()
const TDesC &SAPName()
TInt32 SAPPort()
const TDesC &SAPUserId()
const TDesC &SAPUserPassword()
const TDesC &ServerAcceptedContentType()
const TDesC &ServerAuthenticationName()
const TDesC &ServerAuthenticationPassword()
TInt SetAccessPoint(TUint32)
TInt SetAuthorizationMode(TUint32)
voidSetClientIdL(const TDesC &)
voidSetHTTPProxyAddressL(const TDesC &)
TInt SetHTTPProxyPort(TInt32)
voidSetHTTPProxyUserIdL(const TDesC &)
voidSetHTTPProxyUserPasswordL(const TDesC &)
TInt SetHighLevelServices(TUint32)
voidSetSAPAddressL(const TDesC &)
voidSetSAPNameL(const TDesC &)
TInt SetSAPPort(TInt32)
voidSetSAPUserIdL(const TDesC &)
voidSetSAPUserPasswordL(const TDesC &)
voidSetServerAcceptedContentTypeL(const TDesC &)
voidSetServerAuthenticationNameL(const TDesC &)
voidSetServerAuthenticationPasswordL(const TDesC &)
TUint32 Uid()
Protected Member Functions
CIMPSSAPSettingsBody()
voidConstructL()
Private Member Functions
voidDoSetBufferL(HBufC *&, const TDesC &, TInt, TBool)
TInt DoSetNumber(T &, T, TInt, TBool)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
TUint32 iAP
TIMPSAccessGroup iAccessGroup
TUint32 iAuthorizationMode
HBufC *iClientId
TInt iDynamicDataSize
HBufC *iHTTPProxyAddress
TInt32 iHTTPProxyPort
HBufC *iHTTPProxyUserId
HBufC *iHTTPProxyUserPassword
TUint32 iHighLevelServices
TUint32 iLoginCount
TIMPSSAPProtection iProtection
HBufC *iSAPAddress
HBufC *iSAPName
TInt32 iSAPPort
HBufC *iSAPUserId
HBufC *iSAPUserPassword
HBufC *iServerAcceptedContentType
HBufC *iServerAuthenticationName
HBufC *iServerAuthenticationPassword
TUint32 iUID

Constructor & Destructor Documentation

CIMPSSAPSettingsBody()

CIMPSSAPSettingsBody()[protected]

C++ default constructor.

~CIMPSSAPSettingsBody()

~CIMPSSAPSettingsBody()[virtual]

Destructor.

Member Functions Documentation

AccessGroup()

TIMPSAccessGroup AccessGroup()const

AccessPoint()

TUint32 AccessPoint()const

AuthorizationMode()

TUint32 AuthorizationMode()const

ClientId()

const TDesC &ClientId()const

ConstructL()

voidConstructL()[protected]

Symbian OS constructor.

DataSize()

TInt DataSize()const

DoResetLoginCount()

voidDoResetLoginCount()

DoResetProtection()

voidDoResetProtection()

DoSetAccessGroup(TIMPSAccessGroup)

voidDoSetAccessGroup(TIMPSAccessGroupaGroup)

Parameters

TIMPSAccessGroup aGroup

DoSetBufferL(HBufC *&, const TDesC &, TInt, TBool)

voidDoSetBufferL(HBufC *&aPtr,
const TDesC &aData,
TIntaOperation,
TBoolaAffectsToLoginCount
)[private]

Allocs given data to given HBufC. If the new passed data and old data differ, resets the login count if desired. Checks also is the operation allowed on current protection level.

Parameters

HBufC *& aPtrReference to pointer, where to allocate.
const TDesC & aDataData to allocate.
TInt aOperationThe operation id for protection handler.
TBool aAffectsToLoginCountDoes the setting affect to login count.

DoSetLoginCount(TUint32)

voidDoSetLoginCount(TUint32aLoginCount)

Parameters

TUint32 aLoginCount

DoSetNumber(T &, T, TInt, TBool)

TInt DoSetNumber(T &aOldData,
TaData,
TIntaOperation,
TBoolaAffectsToLoginCount
)[private]

Sets passed integer to passed integer reference. If the new passed data and old data differ, resets the login count if desired. Checks also is the operation allowed on current protection level. Templated method to handle both TUint32's and TInt32's sameway.

Parameters

T & aOldDataReference to old data.
T aDataData to assign.
TInt aOperationThe operation id for protection handler.
TBool aAffectsToLoginCountDoes the setting affect to login count.

DoSetUid(TUint32)

voidDoSetUid(TUint32aUid)
Setters for internal usage. CIMPSSAPSettings.
Since
3.0

Parameters

TUint32 aUid

EqualConnectionSettings(const CIMPSSAPSettingsBody &)

TBool EqualConnectionSettings(const CIMPSSAPSettingsBody &aOther)const

Parameters

const CIMPSSAPSettingsBody & aOther

EqualUserSettings(const CIMPSSAPSettingsBody &)

TBool EqualUserSettings(const CIMPSSAPSettingsBody &aOther)const

Parameters

const CIMPSSAPSettingsBody & aOther

ExternalizeVersionDataL(TInt, RWriteStream &)

voidExternalizeVersionDataL(TIntaVersion,
RWriteStream &aStream
)const

Parameters

TInt aVersion
RWriteStream & aStream

HTTPProxyAddress()

const TDesC &HTTPProxyAddress()const

HTTPProxyPort()

TInt32 HTTPProxyPort()const

HTTPProxyUserId()

const TDesC &HTTPProxyUserId()const

HTTPProxyUserPassword()

const TDesC &HTTPProxyUserPassword()const

HighLevelServices()

TUint32 HighLevelServices()const

IncreaseLoginCount()

voidIncreaseLoginCount()

InternalizeVersionDataL(TInt, RReadStream &)

voidInternalizeVersionDataL(TIntaVersion,
RReadStream &aStream
)

Parameters

TInt aVersion
RReadStream & aStream

LoginCount()

TUint32 LoginCount()const

NewL()

CIMPSSAPSettingsBody *NewL()[static]

Two-phased constructor.

Since
1.2

ObjectID()

TIMPSSapObjectID ObjectID()const

ObjectVersion()

TInt ObjectVersion()const

ProtectL(TIMPSSAPProtection)

voidProtectL(TIMPSSAPProtectionaProtection)
CIMPSSAPSettings.
Since
3.0

Parameters

TIMPSSAPProtection aProtection

Protection()

TIMPSSAPProtection Protection()const

Reset()

voidReset()

SAPAddress()

const TDesC &SAPAddress()const

SAPName()

const TDesC &SAPName()const

SAPPort()

TInt32 SAPPort()const

SAPUserId()

const TDesC &SAPUserId()const

SAPUserPassword()

const TDesC &SAPUserPassword()const

ServerAcceptedContentType()

const TDesC &ServerAcceptedContentType()const

ServerAuthenticationName()

const TDesC &ServerAuthenticationName()const

ServerAuthenticationPassword()

const TDesC &ServerAuthenticationPassword()const

SetAccessPoint(TUint32)

TInt SetAccessPoint(TUint32aAP)

Parameters

TUint32 aAP

SetAuthorizationMode(TUint32)

TInt SetAuthorizationMode(TUint32aMode)

Parameters

TUint32 aMode

SetClientIdL(const TDesC &)

voidSetClientIdL(const TDesC &aClientId)

Parameters

const TDesC & aClientId

SetHTTPProxyAddressL(const TDesC &)

voidSetHTTPProxyAddressL(const TDesC &aAddress)

Parameters

const TDesC & aAddress

SetHTTPProxyPort(TInt32)

TInt SetHTTPProxyPort(TInt32aPort)

Parameters

TInt32 aPort

SetHTTPProxyUserIdL(const TDesC &)

voidSetHTTPProxyUserIdL(const TDesC &UserId)

Parameters

const TDesC & UserId

SetHTTPProxyUserPasswordL(const TDesC &)

voidSetHTTPProxyUserPasswordL(const TDesC &aPassword)

Parameters

const TDesC & aPassword

SetHighLevelServices(TUint32)

TInt SetHighLevelServices(TUint32aServices)

Parameters

TUint32 aServices

SetSAPAddressL(const TDesC &)

voidSetSAPAddressL(const TDesC &aAddress)

Parameters

const TDesC & aAddress

SetSAPNameL(const TDesC &)

voidSetSAPNameL(const TDesC &aName)
CIMPSSAPSettings.
Since
3.0

Parameters

const TDesC & aName

SetSAPPort(TInt32)

TInt SetSAPPort(TInt32aPort)

Parameters

TInt32 aPort

SetSAPUserIdL(const TDesC &)

voidSetSAPUserIdL(const TDesC &aUserId)

Parameters

const TDesC & aUserId

SetSAPUserPasswordL(const TDesC &)

voidSetSAPUserPasswordL(const TDesC &aPassword)

Parameters

const TDesC & aPassword

SetServerAcceptedContentTypeL(const TDesC &)

voidSetServerAcceptedContentTypeL(const TDesC &aAcceptedContentType)

Parameters

const TDesC & aAcceptedContentType

SetServerAuthenticationNameL(const TDesC &)

voidSetServerAuthenticationNameL(const TDesC &aAuthenticationName)

Parameters

const TDesC & aAuthenticationName

SetServerAuthenticationPasswordL(const TDesC &)

voidSetServerAuthenticationPasswordL(const TDesC &aAuthenticationPassword)

Parameters

const TDesC & aAuthenticationPassword

Uid()

TUint32 Uid()const
CIMPSSAPSettings.
Since
3.0

Member Data Documentation

TUint32 iAP

TUint32 iAP[private]

TIMPSAccessGroup iAccessGroup

TIMPSAccessGroup iAccessGroup[private]

TUint32 iAuthorizationMode

TUint32 iAuthorizationMode[private]

HBufC * iClientId

HBufC *iClientId[private]

TInt iDynamicDataSize

TInt iDynamicDataSize[private]

HBufC * iHTTPProxyAddress

HBufC *iHTTPProxyAddress[private]

TInt32 iHTTPProxyPort

TInt32 iHTTPProxyPort[private]

HBufC * iHTTPProxyUserId

HBufC *iHTTPProxyUserId[private]

HBufC * iHTTPProxyUserPassword

HBufC *iHTTPProxyUserPassword[private]

TUint32 iHighLevelServices

TUint32 iHighLevelServices[private]

TUint32 iLoginCount

TUint32 iLoginCount[private]

TIMPSSAPProtection iProtection

TIMPSSAPProtection iProtection[private]

HBufC * iSAPAddress

HBufC *iSAPAddress[private]

HBufC * iSAPName

HBufC *iSAPName[private]

TInt32 iSAPPort

TInt32 iSAPPort[private]

HBufC * iSAPUserId

HBufC *iSAPUserId[private]

HBufC * iSAPUserPassword

HBufC *iSAPUserPassword[private]

HBufC * iServerAcceptedContentType

HBufC *iServerAcceptedContentType[private]

HBufC * iServerAuthenticationName

HBufC *iServerAuthenticationName[private]

HBufC * iServerAuthenticationPassword

HBufC *iServerAuthenticationPassword[private]

TUint32 iUID

TUint32 iUID[private]