COMASuplSETCapabilities Class Reference

class COMASuplSETCapabilities : public COMASuplInfoRequest
COMASuplSETCapabilities defines the capabilities of the SUPL Enabled Terminal.SET capabilities are defined in terms of
  • POS Technology

  • Preferred Method and

  • POS Protocol

SUPL Framework retrieves the SET Capabilities for SUPL START and SUPL POS INIT messages

Since
Series 60 3.1u

Inherits from

Public Member Functions
~COMASuplSETCapabilities()
COMASuplInfoRequest *CloneL()
IMPORT_C voidGetSETCapabilities(TOMASuplPosTechnology &, TOMASuplPrefMethod &, TOMASuplPosProtocol &)
IMPORT_C voidGetSETCapabilities(TOMASuplPosTechnology &, TOMASuplPrefMethod &, TOMASuplPosProtocol &, TOMASuplPosProtocolVersion &)
IMPORT_C COMASuplSETCapabilities *NewL()
IMPORT_C voidSetSETCapabilities(const TOMASuplPosTechnology &, const TOMASuplPrefMethod &, const TOMASuplPosProtocol &)
IMPORT_C voidSetSETCapabilities(const TOMASuplPosTechnology &, const TOMASuplPrefMethod &, const TOMASuplPosProtocol &, const TOMASuplPosProtocolVersion &)
Private Member Functions
COMASuplSETCapabilities()
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()
COMASuplInfoRequest::COMASuplInfoRequest()
COMASuplInfoRequest::SetStatus(TInt)
COMASuplInfoRequest::SetType(TOMASuplInfoType)
COMASuplInfoRequest::Status()const
COMASuplInfoRequest::Type()const
COMASuplInfoRequest::~COMASuplInfoRequest()
Public Member Enumerations
enumTOMASuplPrefMethod { EOMAAGpsSETAssitedPreferred = 0, EOMAAGpsSETBasedPreferred = 1, EOMANoPreferred = 2 }
Inherited Enumerations
COMASuplInfoRequest:TOMASuplInfoType
Private Attributes
TOMASuplPosProtocol iPosProtocol
TOMASuplPosProtocolVersion iPosProtocolVersion
TOMASuplPosTechnology iPosTechnology
TOMASuplPrefMethod iPrefMethod

Constructor & Destructor Documentation

COMASuplSETCapabilities()

COMASuplSETCapabilities()[private]

~COMASuplSETCapabilities()

IMPORT_C~COMASuplSETCapabilities()

Destructor.

Member Functions Documentation

CloneL()

COMASuplInfoRequest *CloneL()const [virtual]

CloneL method clones the set capabilities object and creates a new set capabilities object with the same values. SUPL Framework invokes this method to create a copy of the set capabilities information before terminating the POS Session in POS Message plug-in.

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

GetSETCapabilities(TOMASuplPosTechnology &, TOMASuplPrefMethod &, TOMASuplPosProtocol &)

IMPORT_C voidGetSETCapabilities(TOMASuplPosTechnology &aPosTechnology,
TOMASuplPrefMethod &aPrefMethod,
TOMASuplPosProtocol &aPosProtocol
)const

GetSETCapabilities is invoked by SUPL Framework to retrive the capabilities of the SET.

Parameters

TOMASuplPosTechnology & aPosTechnologyA Reference Parameter of type TOMASuplPosTechnology
TOMASuplPrefMethod & aPrefMethodA Reference Parameter of type TOMASuplPrefMethod
TOMASuplPosProtocol & aPosProtocolA Reference Parameter of type TOMASuplPosProtocol

GetSETCapabilities(TOMASuplPosTechnology &, TOMASuplPrefMethod &, TOMASuplPosProtocol &, TOMASuplPosProtocolVersion &)

IMPORT_C voidGetSETCapabilities(TOMASuplPosTechnology &aPosTechnology,
TOMASuplPrefMethod &aPrefMethod,
TOMASuplPosProtocol &aPosProtocol,
TOMASuplPosProtocolVersion &aPosProtocolVersion
)const

GetSETCapabilities is invoked by SUPL Framework to retrive the capabilities of the SET.

Parameters

TOMASuplPosTechnology & aPosTechnologyA Reference Parameter of type TOMASuplPosTechnology
TOMASuplPrefMethod & aPrefMethodA Reference Parameter of type TOMASuplPrefMethod
TOMASuplPosProtocol & aPosProtocolA Reference Parameter of type TOMASuplPosProtocol
TOMASuplPosProtocolVersion & aPosProtocolVersionA Reference Parameter of type TOMASuplPosProtocolVersion

NewL()

IMPORT_C COMASuplSETCapabilities *NewL()[static]

Creates a new instance of a COMASuplSETCapabilities and sets the type in COMASuplInfoRequest to EOMASuplSETCapabilities.

SetSETCapabilities(const TOMASuplPosTechnology &, const TOMASuplPrefMethod &, const TOMASuplPosProtocol &)

IMPORT_C voidSetSETCapabilities(const TOMASuplPosTechnology &aPosTechnology,
const TOMASuplPrefMethod &aPrefMethod,
const TOMASuplPosProtocol &aPosProtocol
)

SetSETCapabilities is invoked by POS Message plug-in to set the capabilities supported by the POS Module.

Parameters

const TOMASuplPosTechnology & aPosTechnologyA parameter of type TOMASuplPosTechnology that sets values for POS Technology
const TOMASuplPrefMethod & aPrefMethodA parameter of type TOMASuplPrefMethod that sets values for Preferred Method
const TOMASuplPosProtocol & aPosProtocolA parameter of type TOMASuplPosProtocol that sets values for POS Protocol

SetSETCapabilities(const TOMASuplPosTechnology &, const TOMASuplPrefMethod &, const TOMASuplPosProtocol &, const TOMASuplPosProtocolVersion &)

IMPORT_C voidSetSETCapabilities(const TOMASuplPosTechnology &aPosTechnology,
const TOMASuplPrefMethod &aPrefMethod,
const TOMASuplPosProtocol &aPosProtocol,
const TOMASuplPosProtocolVersion &aPosProtocolVersion
)

SetSETCapabilities is invoked by POS Message plug-in to set the capabilities supported by the POS Module.

Parameters

const TOMASuplPosTechnology & aPosTechnologyA parameter of type TOMASuplPosTechnology that sets values for POS Technology
const TOMASuplPrefMethod & aPrefMethodA parameter of type TOMASuplPrefMethod that sets values for Preferred Method
const TOMASuplPosProtocol & aPosProtocolA parameter of type TOMASuplPosProtocol that sets values for POS Protocol
const TOMASuplPosProtocolVersion & aPosProtocolVersionA parameter of type TOMASuplPosProtocolVersion that sets values for POS Protocol Version

Member Enumerations Documentation

Enum TOMASuplPrefMethod

Enumeration values for Preferred Mode

Enumerators

EOMAAGpsSETAssitedPreferred = 0
EOMAAGpsSETBasedPreferred = 1
EOMANoPreferred = 2

Member Data Documentation

TOMASuplPosProtocol iPosProtocol

TOMASuplPosProtocol iPosProtocol[private]

TOMASuplPosProtocolVersion iPosProtocolVersion

TOMASuplPosProtocolVersion iPosProtocolVersion[private]

TOMASuplPosTechnology iPosTechnology

TOMASuplPosTechnology iPosTechnology[private]

TOMASuplPrefMethod iPrefMethod

TOMASuplPrefMethod iPrefMethod[private]