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 void Clone (const COMASuplAsnMessageBase *, TInt &)
IMPORT_C COMASuplInit * NewL ()
IMPORT_C TInt Notification ( COMASuplNotification *&)
IMPORT_C TInt Qop ( TOMASuplQop &)
IMPORT_C TInt SLPAddress ( COMASuplSLPAddress *&)
IMPORT_C void SetNotification ( COMASuplNotification *)
IMPORT_C void SetQop ( TOMASuplQop &)
IMPORT_C void SetSLPAddress ( COMASuplSLPAddress *)
IMPORT_C void SetSuplInit ( TOMASuplPosMethod , TOMASuplSLPMode )
IMPORT_C void SuplInit ( TOMASuplPosMethod &, TOMASuplSLPMode &)
Protected Member Functions
COMASuplInit ()
void CloneNotificationL (const COMASuplInit *)
void CloneSLPAddressL (const COMASuplInit *)
IMPORT_C void ConstructL ()
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
enum TOMASuplSLPMode { 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_C COMASuplInit ( ) [protected]

~COMASuplInit()

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

Member Functions Documentation

Clone(const COMASuplAsnMessageBase *, TInt &)

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

Parameters

const COMASuplAsnMessageBase * aSuplInit suplinit pointer
TInt & aErrorCode errorcode

CloneNotificationL(const COMASuplInit *)

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

Parameters

const COMASuplInit * aSuplInit SuplInit to clone

CloneSLPAddressL(const COMASuplInit *)

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

Parameters

const COMASuplInit * aSuplInit SuplInit to clone

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

NewL()

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

Notification(COMASuplNotification *&)

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

Parameters

COMASuplNotification *& aNotification A 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 TInt Qop ( TOMASuplQop & aSuplQop ) const
Getter method for Qop in Supl Init
Since
S60 S60_3.1

Parameters

TOMASuplQop & aSuplQop Quality of position is retrieved in this object.

SLPAddress(COMASuplSLPAddress *&)

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

Parameters

COMASuplSLPAddress *& aAddress A 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 void SetNotification ( COMASuplNotification * aNotification )
Setter method for Notification
Since
S60 S60_3.1u

Parameters

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

SetQop(TOMASuplQop &)

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

Parameters

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

SetSLPAddress(COMASuplSLPAddress *)

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

Parameters

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

SetSuplInit(TOMASuplPosMethod, TOMASuplSLPMode)

IMPORT_C void SetSuplInit ( TOMASuplPosMethod aPosMethod,
TOMASuplSLPMode aSLPMode
)
Setter method for Supl Init
Since
S60 S60_3.1u

Parameters

TOMASuplPosMethod aPosMethod PosMethod
TOMASuplSLPMode aSLPMode SLPMode

SuplInit(TOMASuplPosMethod &, TOMASuplSLPMode &)

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

Parameters

TOMASuplPosMethod & aPosMethod Pos Method
TOMASuplSLPMode & aSLPMode SLP 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]