CPosGSMPrivacyRequestInfo Class Reference

class CPosGSMPrivacyRequestInfo : public CPosNetworkPrivacyRequestInfo

Contains the data needed for GSM location request verification and notification.

This includes information about the LCS client and an ID of the requesting entity (requestor).

Inherits from

Constructor & Destructor Documentation

CPosGSMPrivacyRequestInfo()

CPosGSMPrivacyRequestInfo ( ) [private]

Default constructor.

CPosGSMPrivacyRequestInfo(const CPosGSMPrivacyRequestInfo &)

CPosGSMPrivacyRequestInfo ( const CPosGSMPrivacyRequestInfo & ) [private]

Parameters

const CPosGSMPrivacyRequestInfo &

~CPosGSMPrivacyRequestInfo()

~CPosGSMPrivacyRequestInfo ( ) [virtual]

Destructor. Frees resources allocated for the LCS Client and Requester ID data.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

2nd phase constructor.

GetLCSClient(TPtrC &, TIdType &)

IMPORT_C TInt GetLCSClient ( TPtrC & aLCSClientId,
TIdType & aIdType
) const

Gets the LCS Client. The LCS Client can be a URL, phone number, a name etc.

Parameters

TPtrC & aLCSClientId Returns the string identifying the LCS Client.
TIdType & aIdType Returns the format of the LCS Client data: URL, phone number etc.

GetRequestor(TPtrC &, TIdType &)

IMPORT_C TInt GetRequestor ( TPtrC & aRequestorId,
TIdType & aIdType
) const

Gets the Requester ID.

The Requester is the originating entity which has requested the location of the target mobile device.

Parameters

TPtrC & aRequestorId Returns a string identifying the Requester.
TIdType & aIdType Returns the format of the Requester ID: URL, phone number, etc.

NewL()

IMPORT_C CPosGSMPrivacyRequestInfo * NewL ( ) [static]

Allocates and constructs a new CPosGSMPrivacyRequestInfo object. The object initially contains undefined request info data. SetLCSClientL() SetRequestorL()

NewLC()

IMPORT_C CPosGSMPrivacyRequestInfo * NewLC ( ) [static]

Allocates and constructs a new CPosGSMPrivacyRequestInfo object and leaves it on the cleanup stack. The object initially contains undefined request info data. SetLCSClientL() SetRequestorL()

SetLCSClientL(const TDesC &, TIdType)

IMPORT_C void SetLCSClientL ( const TDesC & aLCSClientId,
TIdType aIdType
)

Sets the LCS Client. The LCS Client can be a URL, phone number, a name etc.

panic
KPosNetworkPrivacyPanicCategory EPosNetworkPrivacyInvalidGSMIdType aIdType is not a value from CPosGSMPrivacyRequestInfo::TIdType

Parameters

const TDesC & aLCSClientId A descriptor containing data that identifies the LCS Client.
TIdType aIdType Indicates the format of the LCS Client data: URL, phone number etc.

SetRequestorL(const TDesC &, TIdType)

IMPORT_C void SetRequestorL ( const TDesC & aRequestorId,
TIdType aIdType
)

Sets the Requester ID. The Requester ID can be a URL, phone number, a name etc.

The Requester is the originating entity which has requested the location of the target mobile device.

panic
KPosNetworkPrivacyPanicCategory EPosNetworkPrivacyInvalidGSMIdType aIdType is not a value from CPosGSMPrivacyRequestInfo::TIdType

Parameters

const TDesC & aRequestorId A descriptor containing data that identifies the Requester.
TIdType aIdType Indicates the format of the Requester ID: URL, phone number, etc.

operator=(const CPosGSMPrivacyRequestInfo &)

CPosGSMPrivacyRequestInfo & operator= ( const CPosGSMPrivacyRequestInfo & ) [private]

Parameters

const CPosGSMPrivacyRequestInfo &

Member Enumerations Documentation

Enum TIdType

This enum specifies how a requestor or an LCS client or requestor can be identified.

Enumerators

EIdTypeLogicalName = 0

Logical name.

EIdTypeMSISDN

Mobile subscriber phone number.

EIdTypeEmailAddress

Email address.

EIdTypeURL

URL.

EIdTypeSIPURL

URL of user in a SIP session.

EIdTypeIMSPublicIdentity

User Identifier in an IP Multimedia Service session.

Member Data Documentation

HBufC * iLCSClientId

HBufC * iLCSClientId [private]

TIdType iLCSClientIdType

TIdType iLCSClientIdType [private]

HBufC * iRequestorId

HBufC * iRequestorId [private]

TIdType iRequestorIdType

TIdType iRequestorIdType [private]