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 void GetSETCapabilities ( TOMASuplPosTechnology &, TOMASuplPrefMethod &, TOMASuplPosProtocol &)
IMPORT_C void GetSETCapabilities ( TOMASuplPosTechnology &, TOMASuplPrefMethod &, TOMASuplPosProtocol &, TOMASuplPosProtocolVersion &)
IMPORT_C COMASuplSETCapabilities * NewL ()
IMPORT_C void SetSETCapabilities (const TOMASuplPosTechnology &, const TOMASuplPrefMethod &, const TOMASuplPosProtocol &)
IMPORT_C void SetSETCapabilities (const TOMASuplPosTechnology &, const TOMASuplPrefMethod &, const TOMASuplPosProtocol &, const TOMASuplPosProtocolVersion &)
Private Member Functions
COMASuplSETCapabilities ()
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()
COMASuplInfoRequest::COMASuplInfoRequest()
COMASuplInfoRequest::SetStatus(TInt)
COMASuplInfoRequest::SetType(TOMASuplInfoType)
COMASuplInfoRequest::Status()const
COMASuplInfoRequest::Type()const
COMASuplInfoRequest::~COMASuplInfoRequest()
Public Member Enumerations
enum TOMASuplPrefMethod { 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()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

GetSETCapabilities(TOMASuplPosTechnology &, TOMASuplPrefMethod &, TOMASuplPosProtocol &)

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

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

Parameters

TOMASuplPosTechnology & aPosTechnology A Reference Parameter of type TOMASuplPosTechnology
TOMASuplPrefMethod & aPrefMethod A Reference Parameter of type TOMASuplPrefMethod
TOMASuplPosProtocol & aPosProtocol A Reference Parameter of type TOMASuplPosProtocol

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

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

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

Parameters

TOMASuplPosTechnology & aPosTechnology A Reference Parameter of type TOMASuplPosTechnology
TOMASuplPrefMethod & aPrefMethod A Reference Parameter of type TOMASuplPrefMethod
TOMASuplPosProtocol & aPosProtocol A Reference Parameter of type TOMASuplPosProtocol
TOMASuplPosProtocolVersion & aPosProtocolVersion A 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 void SetSETCapabilities ( 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 & aPosTechnology A parameter of type TOMASuplPosTechnology that sets values for POS Technology
const TOMASuplPrefMethod & aPrefMethod A parameter of type TOMASuplPrefMethod that sets values for Preferred Method
const TOMASuplPosProtocol & aPosProtocol A parameter of type TOMASuplPosProtocol that sets values for POS Protocol

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

IMPORT_C void SetSETCapabilities ( 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 & aPosTechnology A parameter of type TOMASuplPosTechnology that sets values for POS Technology
const TOMASuplPrefMethod & aPrefMethod A parameter of type TOMASuplPrefMethod that sets values for Preferred Method
const TOMASuplPosProtocol & aPosProtocol A parameter of type TOMASuplPosProtocol that sets values for POS Protocol
const TOMASuplPosProtocolVersion & aPosProtocolVersion A 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]