CPosSUPLPrivacyRequestInfo Class Reference

class CPosSUPLPrivacyRequestInfo : public CPosNetworkPrivacyRequestInfo

Represents SUPL privacy request information.

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

Inherits from

Public Member Functions
~CPosSUPLPrivacyRequestInfo ()
IMPORT_C TInt GetLCSClient ( TPtrC &, TIdType &)
IMPORT_C TInt GetRequestor ( TPtrC &, TIdType &)
IMPORT_C CPosSUPLPrivacyRequestInfo * NewL ()
IMPORT_C CPosSUPLPrivacyRequestInfo * NewLC ()
IMPORT_C void SetLCSClientL (const TDesC &, TIdType )
IMPORT_C void SetRequestorL (const TDesC &, TIdType )
Private Member Functions
CPosSUPLPrivacyRequestInfo ()
CPosSUPLPrivacyRequestInfo (const CPosSUPLPrivacyRequestInfo &)
void ConstructL ()
CPosSUPLPrivacyRequestInfo & operator= (const CPosSUPLPrivacyRequestInfo &)
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()
CPosNetworkPrivacyRequestInfo::CPosNetworkPrivacyRequestInfo(TUint)
CPosNetworkPrivacyRequestInfo::RequestInfoType()const
CPosNetworkPrivacyRequestInfo::RequestType()const
CPosNetworkPrivacyRequestInfo::SetRequestType(const TRequestType)
CPosNetworkPrivacyRequestInfo::~CPosNetworkPrivacyRequestInfo()
Public Member Enumerations
enum TIdType {
EIdTypeLogicalName  = 0, EIdTypeMSISDN , EIdTypeEmailAddress , EIdTypeURL , EIdTypeSIPURL , EIdTypeIMSPublicIdentity , EIdTypeMIN , EIdTypeMDN
}
Inherited Enumerations
CPosNetworkPrivacyRequestInfo:_TRequestType
Private Attributes
HBufC * iLCSClientId
TIdType iLCSClientIdType
HBufC * iRequestorId
TIdType iRequestorIdType

Constructor & Destructor Documentation

CPosSUPLPrivacyRequestInfo()

CPosSUPLPrivacyRequestInfo ( ) [private]

Default constructor.

CPosSUPLPrivacyRequestInfo(const CPosSUPLPrivacyRequestInfo &)

CPosSUPLPrivacyRequestInfo ( const CPosSUPLPrivacyRequestInfo & ) [private]

Parameters

const CPosSUPLPrivacyRequestInfo &

~CPosSUPLPrivacyRequestInfo()

~CPosSUPLPrivacyRequestInfo ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Standard ConstructL

GetLCSClient(TPtrC &, TIdType &)

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

Retrieves the LCS client.

Parameters

TPtrC & aLCSClientId OUT. Will return a string identifying the LCS client.
TIdType & aIdType OUT. Indicates how the LCS client is identified, e.g. by MIN, MDN,URL, phone number, etc.

GetRequestor(TPtrC &, TIdType &)

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

Returns the requestor ID.

Requestor is the originating entity which has requested the location of the target mobile station from the LCS client.

Parameters

TPtrC & aRequestorId OUT. Returns a string identifying the requestor.
TIdType & aIdType OUT. Indicates how the requestor is identified, e.g. by URL, MIN, MDN.

NewL()

IMPORT_C CPosSUPLPrivacyRequestInfo * NewL ( ) [static]

Standard Symbian OS two-phase constructor.

NewLC()

IMPORT_C CPosSUPLPrivacyRequestInfo * NewLC ( ) [static]

Standard Symbian OS two-phase constructor.

SetLCSClientL(const TDesC &, TIdType)

IMPORT_C void SetLCSClientL ( const TDesC & aLCSClientId,
TIdType aIdType
)
Sets the LCS client.
panic
KPosNetworkPrivacyPanicCategory EPosNetworkPrivacyInvalidSUPLIdType aIdType is not a value from CPosSUPLPrivacyRequestInfo::TIdType

Parameters

const TDesC & aLCSClientId IN. A string identifying the LCS client.
TIdType aIdType IN. Indicates how the LCS Client is identified, e.g. by MIN, MDN,URL, phone number, etc.

SetRequestorL(const TDesC &, TIdType)

IMPORT_C void SetRequestorL ( const TDesC & aRequestorId,
TIdType aIdType
)
Sets the requestor ID. Requestor is the originating entity which has requested the location of the target mobile station from the LCS client. A requestor is identified e.g. by MIN, MDN.
panic
KPosNetworkPrivacyPanicCategory EPosNetworkPrivacyInvalidSUPLIdType aIdType is not a value from CPosSUPLPrivacyRequestInfo::TIdType

Parameters

const TDesC & aRequestorId IN. A string identifying the requestor.
TIdType aIdType IN. Indicates how the requestor is identified, e.g. by MIN, MDN,URL, phone number, etc.

operator=(const CPosSUPLPrivacyRequestInfo &)

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

Parameters

const CPosSUPLPrivacyRequestInfo &

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.

EIdTypeMIN

Mobile Identification Number.

EIdTypeMDN

Mobile Directory Number.

Member Data Documentation

HBufC * iLCSClientId

HBufC * iLCSClientId [private]

TIdType iLCSClientIdType

TIdType iLCSClientIdType [private]

HBufC * iRequestorId

HBufC * iRequestorId [private]

TIdType iRequestorIdType

TIdType iRequestorIdType [private]