CSuplTerminalParams Class Reference

class CSuplTerminalParams : public CBase
This class is used to specify/retrieve the desired server properties. The required memory for the parameters will be allocated during construction of this class and this class owns the memory allocated. And same will be released when this class is destroyed. The server property includes
  • Supported protocol version.

  • Emergency support.

  • TLS enabled / disabled.

  • PSK used / not used ( GBA or any other key generation mechanism ).

  • IAP / destination.

  • SLP address.

  • SLP enabled / disabled.

  • Manufacturer ( Optional ).

  • Remove SLP, when SIM change ( yes / no ).

  • Usage in home network ( yes / no ).

  • Timestamp ( when last used ).

  • Timestamp ( when tried last ).

  • Network & Operator code ( when tried last ).

  • Network & Operator code ( when last used successfully).

  • Editable ( yes / no).

From the abover properties, only following fieds can be changed by SUPL settings client:
  • SLP address

  • IAP / destination.

  • SLP enabled / disabled.

  • Remove SLP, when SIM change ( yes / no ).

  • Usage in home network ( yes / no ).

  • Editable ( yes / no).

Inherits from

Constructor & Destructor Documentation

CSuplTerminalParams()

CSuplTerminalParams ( ) [private]

C++ default constructor.

Since
S60 9.1TB

~CSuplTerminalParams()

IMPORT_C ~CSuplTerminalParams ( )

Destructor.

Since
S60 9.1TB

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

By default EPOC constructor is private.

Since
S60 9.1TB

Get(TInt64 &, TPtr, TPtr, TBool &, TBool &, TBool &, TBool &)

IMPORT_C TInt Get ( TInt64 & aSlpId,
TPtr aServerAddress,
TPtr aIapName,
TBool & aServerEnabled,
TBool & aSimChangeRemove,
TBool & aUsageInHomeNw,
TBool & aEditable
) const

Returns server parameters.

Parameters

TInt64 & aSlpId
TPtr aServerAddress
TPtr aIapName
TBool & aServerEnabled
TBool & aSimChangeRemove
TBool & aUsageInHomeNw
TBool & aEditable

NewL()

IMPORT_C CSuplTerminalParams * NewL ( ) [static]

Two-phased constructor.

Since
S60 9.1TB

NewLC()

IMPORT_C CSuplTerminalParams * NewLC ( ) [static]

Two-phased constructor.

Since
S60 9.1TB

Set(const TDesC &, const TDesC &, const TBool, const TBool, const TBool, const TBool, const TInt64)

IMPORT_C TInt Set ( const TDesC & aServerAddress,
const TDesC & aIapName,
const TBool aServerEnabled = ETrue,
const TBool aSimChangeRemove = EFalse,
const TBool aUsageInHomeNw = ETrue,
const TBool aEditable = ETrue,
const TInt64 aSlpId = 0
)

Sets server parameters.

Parameters

const TDesC & aServerAddress
const TDesC & aIapName
const TBool aServerEnabled = ETrue
const TBool aSimChangeRemove = EFalse
const TBool aUsageInHomeNw = ETrue
const TBool aEditable = ETrue
const TInt64 aSlpId = 0

Member Data Documentation

TBool iEditable

TBool iEditable [private]

HBufC * iIap

HBufC * iIap [private]

TBool iIsValueSet

TBool iIsValueSet [private]

HBufC * iServerAddress

HBufC * iServerAddress [private]

TBool iServerEnabled

TBool iServerEnabled [private]

TBool iSimChangeRemove

TBool iSimChangeRemove [private]

TInt64 iSlpId

TInt64 iSlpId [private]

TBool iUsageInHomeNw

TBool iUsageInHomeNw [private]