COMASuplVer2SuplInitExtn Class Reference

class COMASuplVer2SuplInitExtn : public CBase
Class for providing the supl init message extension for SUPL v2.0 For holding the supl init message extension eposomasuplasnconverter.lib
Since
S60 S60_3.1u

Inherits from

Public Member Functions
~COMASuplVer2SuplInitExtn ()
IMPORT_C void CloneL ( COMASuplVer2SuplInitExtn *)
IMPORT_C TInt GetHSLPAddress ( COMASuplSLPAddress *&)
IMPORT_C TInt GetHistoricRep ( TOMASuplHistoricReporting &)
IMPORT_C TInt GetMinMajorVer ( TInt &)
IMPORT_C TInt GetNotificationMode ( TOMASuplNotificationMode &)
IMPORT_C TInt GetProtLevel ( TOMASuplProtectionLevel &)
IMPORT_C TInt GetSupNwInfo ( TOMASuplSuppNetworkInformation &)
IMPORT_C TInt GetTrigType ( COMASuplTriggeredStart::TOMASuplTrigType &)
IMPORT_C COMASuplVer2SuplInitExtn * NewL ()
IMPORT_C void SetHSLPAddress ( COMASuplSLPAddress *)
IMPORT_C void SetHistoricRep ( TOMASuplHistoricReporting )
IMPORT_C void SetMinMajorVer ( TInt )
IMPORT_C void SetNotificationMode ( TOMASuplNotificationMode )
IMPORT_C void SetProtLevel ( TOMASuplProtectionLevel )
IMPORT_C void SetSupNwInfo ( TOMASuplSuppNetworkInformation )
IMPORT_C void SetTrigType ( COMASuplTriggeredStart::TOMASuplTrigType )
Private Member Functions
COMASuplVer2SuplInitExtn ()
void CloneSLPAddressL ( COMASuplVer2SuplInitExtn *)
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()
Public Member Enumerations
enum TOMASuplNotificationMode { ETOMASuplNotificationModeUnknown  = -1, ETOMASuplNotificationModeNormal  = 0, ETOMASuplNotificationModeLocation  = 1 }
Private Attributes
TOMASuplHistoricReporting iHistoricReporting
TInt iMinMajorVersion
TOMASuplNotificationMode iNotificationMode
TInt iOptionalMask
TOMASuplProtectionLevel iProtectionLevel
COMASuplSLPAddress * iSLPAddress
TOMASuplSuppNetworkInformation iSupportedNetworkInformation
COMASuplTriggeredStart::TOMASuplTrigType iTriggerType

Constructor & Destructor Documentation

COMASuplVer2SuplInitExtn()

COMASuplVer2SuplInitExtn ( ) [private]

~COMASuplVer2SuplInitExtn()

IMPORT_C ~COMASuplVer2SuplInitExtn ( ) [virtual]
Destructor
Since
S60 S60_5.2

Member Functions Documentation

CloneL(COMASuplVer2SuplInitExtn *)

IMPORT_C void CloneL ( COMASuplVer2SuplInitExtn * aCloneV2Extn )
Function for cloning the Supl Init v2.0 extension
Since
S60 S60_5.2

Parameters

COMASuplVer2SuplInitExtn * aCloneV2Extn A pointer to the SUPL Init V2 extension object to be cloned

CloneSLPAddressL(COMASuplVer2SuplInitExtn *)

void CloneSLPAddressL ( COMASuplVer2SuplInitExtn * aCloneV2Extn ) [private]

Parameters

COMASuplVer2SuplInitExtn * aCloneV2Extn

GetHSLPAddress(COMASuplSLPAddress *&)

IMPORT_C TInt GetHSLPAddress ( COMASuplSLPAddress *& aSLPAddress )
Getter method for retrieving slp address
Since
S60 S60_5.2

Parameters

COMASuplSLPAddress *& aSLPAddress a reference to slp address is returned in this ownership is still with the v2 extn object

GetHistoricRep(TOMASuplHistoricReporting &)

IMPORT_C TInt GetHistoricRep ( TOMASuplHistoricReporting & aHistoricReporting )
Getter method for retrieving historic reporting
Since
S60 S60_5.2

Parameters

TOMASuplHistoricReporting & aHistoricReporting historic reporting is returned in this

GetMinMajorVer(TInt &)

IMPORT_C TInt GetMinMajorVer ( TInt & aVer )
Getter method for retrieving minor and major version
Since
S60 S60_5.2

Parameters

TInt & aVer version is returned in this

GetNotificationMode(TOMASuplNotificationMode &)

IMPORT_C TInt GetNotificationMode ( TOMASuplNotificationMode & aMode )
Getter method for retrieving notification mode
Since
S60 S60_5.2

Parameters

TOMASuplNotificationMode & aMode notification mode is returned in this

GetProtLevel(TOMASuplProtectionLevel &)

IMPORT_C TInt GetProtLevel ( TOMASuplProtectionLevel & aProtectionLevel )
Getter method for retrieving protection level
Since
S60 S60_5.2

Parameters

TOMASuplProtectionLevel & aProtectionLevel protection level is returned in this

GetSupNwInfo(TOMASuplSuppNetworkInformation &)

IMPORT_C TInt GetSupNwInfo ( TOMASuplSuppNetworkInformation & aSupportedNetworkInformation )
Getter method for retrieving supported network information
Since
S60 S60_5.2

Parameters

TOMASuplSuppNetworkInformation & aSupportedNetworkInformation supported nw info is returned in this

GetTrigType(COMASuplTriggeredStart::TOMASuplTrigType &)

IMPORT_C TInt GetTrigType ( COMASuplTriggeredStart::TOMASuplTrigType & aTrigType )
Getter method for retrieving trigger type
Since
S60 S60_5.2

Parameters

COMASuplTriggeredStart::TOMASuplTrigType & aTrigType Trigger type is returned in this

NewL()

IMPORT_C COMASuplVer2SuplInitExtn * NewL ( ) [static]
Two phased constructor
Since
S60 S60_5.2

SetHSLPAddress(COMASuplSLPAddress *)

IMPORT_C void SetHSLPAddress ( COMASuplSLPAddress * aSLPAddress )
Setter method for setting slp address
Since
S60 S60_5.2

Parameters

COMASuplSLPAddress * aSLPAddress slp address to be set ownership is trasnferred to the v2 extn object

SetHistoricRep(TOMASuplHistoricReporting)

IMPORT_C void SetHistoricRep ( TOMASuplHistoricReporting aHistoricReporting )
Setter method for setting historic reporting
Since
S60 S60_5.2

Parameters

TOMASuplHistoricReporting aHistoricReporting historic reporting to be set

SetMinMajorVer(TInt)

IMPORT_C void SetMinMajorVer ( TInt aVer )
Setter method for setting minor and major version
Since
S60 S60_5.2

Parameters

TInt aVer version to be set

SetNotificationMode(TOMASuplNotificationMode)

IMPORT_C void SetNotificationMode ( TOMASuplNotificationMode aMode )
Setter method for setting notification mode
Since
S60 S60_5.2

Parameters

TOMASuplNotificationMode aMode notification mode ito be set

SetProtLevel(TOMASuplProtectionLevel)

IMPORT_C void SetProtLevel ( TOMASuplProtectionLevel aProtectionLevel )
Setter method for setting protection level
Since
S60 S60_5.2

Parameters

TOMASuplProtectionLevel aProtectionLevel protection level to be set

SetSupNwInfo(TOMASuplSuppNetworkInformation)

IMPORT_C void SetSupNwInfo ( TOMASuplSuppNetworkInformation aSupportedNetworkInformation )
Setter method for setting supported network information
Since
S60 S60_5.2

Parameters

TOMASuplSuppNetworkInformation aSupportedNetworkInformation supported nw info to be set

SetTrigType(COMASuplTriggeredStart::TOMASuplTrigType)

IMPORT_C void SetTrigType ( COMASuplTriggeredStart::TOMASuplTrigType aTrigType )
Setter method for setting trigger type
Since
S60 S60_5.2

Parameters

COMASuplTriggeredStart::TOMASuplTrigType aTrigType Trigger type to be set

Member Enumerations Documentation

Enum TOMASuplNotificationMode

Enum to indicate the notification mode

Enumerators

ETOMASuplNotificationModeUnknown = -1
ETOMASuplNotificationModeNormal = 0
ETOMASuplNotificationModeLocation = 1

Member Data Documentation

TOMASuplHistoricReporting iHistoricReporting

TOMASuplHistoricReporting iHistoricReporting [private]

TInt iMinMajorVersion

TInt iMinMajorVersion [private]

TOMASuplNotificationMode iNotificationMode

TOMASuplNotificationMode iNotificationMode [private]

TInt iOptionalMask

TInt iOptionalMask [private]

TOMASuplProtectionLevel iProtectionLevel

TOMASuplProtectionLevel iProtectionLevel [private]

COMASuplSLPAddress * iSLPAddress

COMASuplSLPAddress * iSLPAddress [private]

TOMASuplSuppNetworkInformation iSupportedNetworkInformation

TOMASuplSuppNetworkInformation iSupportedNetworkInformation [private]

COMASuplTriggeredStart::TOMASuplTrigType iTriggerType

COMASuplTriggeredStart::TOMASuplTrigType iTriggerType [private]