CIMPSSAPSettingsBody Class Reference

class CIMPSSAPSettingsBody : public CBase

SAP settings container body.

Inherits from

Public Member Functions
~CIMPSSAPSettingsBody ()
TIMPSAccessGroup AccessGroup ()
TUint32 AccessPoint ()
TUint32 AuthorizationMode ()
const TDesC & ClientId ()
TInt DataSize ()
void DoResetLoginCount ()
void DoResetProtection ()
void DoSetAccessGroup ( TIMPSAccessGroup )
void DoSetLoginCount ( TUint32 )
void DoSetUid ( TUint32 )
TBool EqualConnectionSettings (const CIMPSSAPSettingsBody &)
TBool EqualUserSettings (const CIMPSSAPSettingsBody &)
void ExternalizeVersionDataL ( TInt , RWriteStream &)
const TDesC & HTTPProxyAddress ()
TInt32 HTTPProxyPort ()
const TDesC & HTTPProxyUserId ()
const TDesC & HTTPProxyUserPassword ()
TUint32 HighLevelServices ()
void IncreaseLoginCount ()
void InternalizeVersionDataL ( TInt , RReadStream &)
TUint32 LoginCount ()
CIMPSSAPSettingsBody * NewL ()
TIMPSSapObjectID ObjectID ()
TInt ObjectVersion ()
void ProtectL ( TIMPSSAPProtection )
TIMPSSAPProtection Protection ()
void Reset ()
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 )
void SetClientIdL (const TDesC &)
void SetHTTPProxyAddressL (const TDesC &)
TInt SetHTTPProxyPort ( TInt32 )
void SetHTTPProxyUserIdL (const TDesC &)
void SetHTTPProxyUserPasswordL (const TDesC &)
TInt SetHighLevelServices ( TUint32 )
void SetSAPAddressL (const TDesC &)
void SetSAPNameL (const TDesC &)
TInt SetSAPPort ( TInt32 )
void SetSAPUserIdL (const TDesC &)
void SetSAPUserPasswordL (const TDesC &)
void SetServerAcceptedContentTypeL (const TDesC &)
void SetServerAuthenticationNameL (const TDesC &)
void SetServerAuthenticationPasswordL (const TDesC &)
TUint32 Uid ()
Protected Member Functions
CIMPSSAPSettingsBody ()
void ConstructL ()
Private Member Functions
void DoSetBufferL ( 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()

void ConstructL ( ) [protected]

Symbian OS constructor.

DataSize()

TInt DataSize ( ) const

DoResetLoginCount()

void DoResetLoginCount ( )

DoResetProtection()

void DoResetProtection ( )

DoSetAccessGroup(TIMPSAccessGroup)

void DoSetAccessGroup ( TIMPSAccessGroup aGroup )

Parameters

TIMPSAccessGroup aGroup

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

void DoSetBufferL ( HBufC *& aPtr,
const TDesC & aData,
TInt aOperation,
TBool aAffectsToLoginCount
) [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 *& aPtr Reference to pointer, where to allocate.
const TDesC & aData Data to allocate.
TInt aOperation The operation id for protection handler.
TBool aAffectsToLoginCount Does the setting affect to login count.

DoSetLoginCount(TUint32)

void DoSetLoginCount ( TUint32 aLoginCount )

Parameters

TUint32 aLoginCount

DoSetNumber(T &, T, TInt, TBool)

TInt DoSetNumber ( T & aOldData,
T aData,
TInt aOperation,
TBool aAffectsToLoginCount
) [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 & aOldData Reference to old data.
T aData Data to assign.
TInt aOperation The operation id for protection handler.
TBool aAffectsToLoginCount Does the setting affect to login count.

DoSetUid(TUint32)

void DoSetUid ( TUint32 aUid )
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 &)

void ExternalizeVersionDataL ( TInt aVersion,
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()

void IncreaseLoginCount ( )

InternalizeVersionDataL(TInt, RReadStream &)

void InternalizeVersionDataL ( TInt aVersion,
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)

void ProtectL ( TIMPSSAPProtection aProtection )
CIMPSSAPSettings .
Since
3.0

Parameters

TIMPSSAPProtection aProtection

Protection()

TIMPSSAPProtection Protection ( ) const

Reset()

void Reset ( )

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 ( TUint32 aAP )

Parameters

TUint32 aAP

SetAuthorizationMode(TUint32)

TInt SetAuthorizationMode ( TUint32 aMode )

Parameters

TUint32 aMode

SetClientIdL(const TDesC &)

void SetClientIdL ( const TDesC & aClientId )

Parameters

const TDesC & aClientId

SetHTTPProxyAddressL(const TDesC &)

void SetHTTPProxyAddressL ( const TDesC & aAddress )

Parameters

const TDesC & aAddress

SetHTTPProxyPort(TInt32)

TInt SetHTTPProxyPort ( TInt32 aPort )

Parameters

TInt32 aPort

SetHTTPProxyUserIdL(const TDesC &)

void SetHTTPProxyUserIdL ( const TDesC & UserId )

Parameters

const TDesC & UserId

SetHTTPProxyUserPasswordL(const TDesC &)

void SetHTTPProxyUserPasswordL ( const TDesC & aPassword )

Parameters

const TDesC & aPassword

SetHighLevelServices(TUint32)

TInt SetHighLevelServices ( TUint32 aServices )

Parameters

TUint32 aServices

SetSAPAddressL(const TDesC &)

void SetSAPAddressL ( const TDesC & aAddress )

Parameters

const TDesC & aAddress

SetSAPNameL(const TDesC &)

void SetSAPNameL ( const TDesC & aName )
CIMPSSAPSettings .
Since
3.0

Parameters

const TDesC & aName

SetSAPPort(TInt32)

TInt SetSAPPort ( TInt32 aPort )

Parameters

TInt32 aPort

SetSAPUserIdL(const TDesC &)

void SetSAPUserIdL ( const TDesC & aUserId )

Parameters

const TDesC & aUserId

SetSAPUserPasswordL(const TDesC &)

void SetSAPUserPasswordL ( const TDesC & aPassword )

Parameters

const TDesC & aPassword

SetServerAcceptedContentTypeL(const TDesC &)

void SetServerAcceptedContentTypeL ( const TDesC & aAcceptedContentType )

Parameters

const TDesC & aAcceptedContentType

SetServerAuthenticationNameL(const TDesC &)

void SetServerAuthenticationNameL ( const TDesC & aAuthenticationName )

Parameters

const TDesC & aAuthenticationName

SetServerAuthenticationPasswordL(const TDesC &)

void SetServerAuthenticationPasswordL ( 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]