COMASuplInit Class Reference

class COMASuplInit : public COMASuplAsnMessageBase
Class for providing the suplinit message For holding the Supl Init message eposomasuplasnconverter.lib
Since
S60 S60_3.1u

Inherits from

Public Member Functions
~COMASuplInit()
IMPORT_C voidClone(const COMASuplAsnMessageBase *, TInt &)
IMPORT_C COMASuplInit *NewL()
IMPORT_C TIntNotification(COMASuplNotification *&)
IMPORT_C TIntQop(TOMASuplQop &)
IMPORT_C TIntSLPAddress(COMASuplSLPAddress *&)
IMPORT_C voidSetNotification(COMASuplNotification *)
IMPORT_C voidSetQop(TOMASuplQop &)
IMPORT_C voidSetSLPAddress(COMASuplSLPAddress *)
IMPORT_C voidSetSuplInit(TOMASuplPosMethod, TOMASuplSLPMode)
IMPORT_C voidSuplInit(TOMASuplPosMethod &, TOMASuplSLPMode &)
Protected Member Functions
COMASuplInit()
voidCloneNotificationL(const COMASuplInit *)
voidCloneSLPAddressL(const COMASuplInit *)
IMPORT_C voidConstructL()
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()
COMASuplAsnMessageBase::CloneBaseL(const COMASuplAsnMessageBase *,TInt &)
COMASuplAsnMessageBase::EncodeL(TInt &)
COMASuplAsnMessageBase::MessageBase(TOMASuplVersion &,COMASuplSessionID *&)const
COMASuplAsnMessageBase::MessageLength()const
COMASuplAsnMessageBase::MessageType()const
COMASuplAsnMessageBase::SessionId(COMASuplSessionID *&)const
COMASuplAsnMessageBase::SetMessageBase(const TOMASuplVersion &,COMASuplSessionID *)
COMASuplAsnMessageBase::SetMessageLength(TInt)
COMASuplAsnMessageBase::SetMessageType(TSuplMessageType)
COMASuplAsnMessageBase::~COMASuplAsnMessageBase()
Public Member Enumerations
enumTOMASuplSLPMode { EProxy = 0, ENonProxy }
Inherited Enumerations
COMASuplAsnMessageBase:TSuplMessageType
Protected Attributes
COMASuplNotification *iNotification
TOMASuplPosMethod iPosMethod
COMASuplSLPAddress *iSLPAddress
TOMASuplSLPMode iSLPMode
TOMASuplQop iSuplQop
Inherited Attributes
COMASuplAsnMessageBase::iMessageLength
COMASuplAsnMessageBase::iMessageType
COMASuplAsnMessageBase::iOptionalMask
COMASuplAsnMessageBase::iSessionId
COMASuplAsnMessageBase::iTmpSessionId
COMASuplAsnMessageBase::iVersion

Constructor & Destructor Documentation

COMASuplInit()

IMPORT_CCOMASuplInit()[protected]

~COMASuplInit()

IMPORT_C~COMASuplInit()[virtual]
Destructor
Since
S60 S60_3.1u

Member Functions Documentation

Clone(const COMASuplAsnMessageBase *, TInt &)

IMPORT_C voidClone(const COMASuplAsnMessageBase *aSuplInit,
TInt &aErrorCode
)[virtual]
Method to clone
Since
S60 S60_3.1u

Parameters

const COMASuplAsnMessageBase * aSuplInitsuplinit pointer
TInt & aErrorCodeerrorcode

CloneNotificationL(const COMASuplInit *)

voidCloneNotificationL(const COMASuplInit *aSuplInit)[protected]
Method to clone the notification if present
Since
S60 S60_3.1u

Parameters

const COMASuplInit * aSuplInitSuplInit to clone

CloneSLPAddressL(const COMASuplInit *)

voidCloneSLPAddressL(const COMASuplInit *aSuplInit)[protected]
Method to clone the SlpAddres if present
Since
S60 S60_3.1u

Parameters

const COMASuplInit * aSuplInitSuplInit to clone

ConstructL()

IMPORT_C voidConstructL()[protected]

NewL()

IMPORT_C COMASuplInit *NewL()[static]
Two phased constructor
Since
S60 S60_3.1u

Notification(COMASuplNotification *&)

IMPORT_C TIntNotification(COMASuplNotification *&aNotification)const
Getter method for Notification
Since
S60 S60_3.1u

Parameters

COMASuplNotification *& aNotificationA reference to the Notification field present in the SUPL Init message is returned in this. Ownership stays with the SUPL Init Message object.

Qop(TOMASuplQop &)

IMPORT_C TIntQop(TOMASuplQop &aSuplQop)const
Getter method for Qop in Supl Init
Since
S60 S60_3.1

Parameters

TOMASuplQop & aSuplQopQuality of position is retrieved in this object.

SLPAddress(COMASuplSLPAddress *&)

IMPORT_C TIntSLPAddress(COMASuplSLPAddress *&aAddress)const
Getter method for SLP Address
Since
S60 S60_3.1u

Parameters

COMASuplSLPAddress *& aAddressA reference to the SLP address present in the SUPL Init message is returned in this. Ownership stays with the SUPL Init Message object.

SetNotification(COMASuplNotification *)

IMPORT_C voidSetNotification(COMASuplNotification *aNotification)
Setter method for Notification
Since
S60 S60_3.1u

Parameters

COMASuplNotification * aNotificationNotification field to be set in the SUPL Init object. Ownership is transferred to the SUPL Init object.

SetQop(TOMASuplQop &)

IMPORT_C voidSetQop(TOMASuplQop &aSuplQop)
Setter method for Qop in Supl init
Since
S60 S60_3.1

Parameters

TOMASuplQop & aSuplQopQuality of position to be set in the SUPL Init object.

SetSLPAddress(COMASuplSLPAddress *)

IMPORT_C voidSetSLPAddress(COMASuplSLPAddress *aAddress)
Setter method for SLP Address
Since
S60 S60_3.1u

Parameters

COMASuplSLPAddress * aAddressSLP address to be set into the SUPL Init message.Ownership stays with the SUPL Init object.

SetSuplInit(TOMASuplPosMethod, TOMASuplSLPMode)

IMPORT_C voidSetSuplInit(TOMASuplPosMethodaPosMethod,
TOMASuplSLPModeaSLPMode
)
Setter method for Supl Init
Since
S60 S60_3.1u

Parameters

TOMASuplPosMethod aPosMethodPosMethod
TOMASuplSLPMode aSLPModeSLPMode

SuplInit(TOMASuplPosMethod &, TOMASuplSLPMode &)

IMPORT_C voidSuplInit(TOMASuplPosMethod &aPosMethod,
TOMASuplSLPMode &aSLPMode
)const
Getter method for SuplInit
Since
S60 S60_3.1u

Parameters

TOMASuplPosMethod & aPosMethodPos Method
TOMASuplSLPMode & aSLPModeSLP Mode to indcate proxy or non proxy

Member Enumerations Documentation

Enum TOMASuplSLPMode

Enumeration for holding the SLP Mode

Enumerators

EProxy = 0
ENonProxy

Member Data Documentation

COMASuplNotification * iNotification

COMASuplNotification *iNotification[protected]

TOMASuplPosMethod iPosMethod

TOMASuplPosMethod iPosMethod[protected]

COMASuplSLPAddress * iSLPAddress

COMASuplSLPAddress *iSLPAddress[protected]

TOMASuplSLPMode iSLPMode

TOMASuplSLPMode iSLPMode[protected]

TOMASuplQop iSuplQop

TOMASuplQop iSuplQop[protected]