RLbsNetSimTest Class Reference
class RLbsNetSimTest : public RSessionBase |
Nested Classes and Structures
Inherited Functions |
---|
| RHandleBase::Attributes()const |
| RHandleBase::BTraceId()const |
| RHandleBase::DoExtendedClose() |
| RHandleBase::Duplicate(const RThread &,TOwnerType) |
| RHandleBase::FullName()const |
| RHandleBase::FullName(TDes &)const |
| RHandleBase::Handle()const |
| RHandleBase::HandleInfo(THandleInfo *) |
| RHandleBase::Name()const |
| RHandleBase::NotifyDestruction(TRequestStatus &) |
| RHandleBase::Open(const TFindHandleBase &,TOwnerType) |
| RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt) |
| RHandleBase::RHandleBase() |
| RHandleBase::RHandleBase(TInt) |
| RHandleBase::SetHandle(TInt) |
| RHandleBase::SetHandleNC(TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *) |
| RSessionBase::Open(RMessagePtr2,TInt,TOwnerType) |
| RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Open(TInt,TOwnerType) |
| RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::SetReturnedHandle(TInt) |
| RSessionBase::SetReturnedHandle(TInt,RHandleBase &) |
| RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &) |
| RSessionBase::ShareAuto() |
| RSessionBase::ShareProtected() |
Constructor & Destructor Documentation
~RLbsNetSimTest()
IMPORT_C | ~RLbsNetSimTest | ( | ) | |
Member Functions Documentation
CancelNetworkLocationRequest()
IMPORT_C void | CancelNetworkLocationRequest | ( | ) | |
Cancels an outstanding network location request
CancelNetworkPrivacyRequest()
IMPORT_C void | CancelNetworkPrivacyRequest | ( | ) | |
Cancel an outstanding network privacy request
ClearAssistanceDataFilters()
IMPORT_C TBool | ClearAssistanceDataFilters | ( | ) | |
Clear the filters back to there default states
Close()
Close the connection to the server
ConnectL(MLbsNetSimTestObserver *)
Next(TInt)
Enable the simulator to peform the next step
Parameters
TInt aError | The error to use, KErrNone for normal behaviour |
Send(TInt)
Issues a blind request to the server with the specified function number, but with no arguments.
A blind request is one where the server does not issue a response to the client.
-
panic
- USER 72 if the function number is negative.
Parameters
TInt aFunction | The function number identifying the request. |
Send(TInt, const TIpcArgs &)
Issues a blind request to the server with the specified function number, and arguments.
A blind request is one where the server does not issue a response to the client.
-
panic
- USER 72 if the function number is negative.
Parameters
TInt aFunction | The function number identifying the request. |
const TIpcArgs & aArgs | A set of up to 4 arguments and their types to be passed to the server. |
SendReceive(TInt, const TIpcArgs &, TRequestStatus &)
Issues an asynchronous request to the server with the specified function number and arguments.
The completion status of the request is returned via the request status object, aStatus.
-
panic
- USER 72 if the function number is negative.
Parameters
TInt aFunction | The function number identifying the request. |
const TIpcArgs & aArgs | A set of up to 4 arguments and their types to be passed to the server. |
TRequestStatus & aStatus | The request status object used to contain the completion status of the request. |
SendReceive(TInt, const TIpcArgs &)
Issues a synchronous request to the server with the specified function number and arguments.
-
panic
- USER 72 if the function number is negative.
Parameters
TInt aFunction | The function number identifying the request. |
const TIpcArgs & aArgs | A set of up to 4 arguments and their types to be passed to the server. |
SendReceive(TInt, TRequestStatus &)
Issues an asynchronous request to the server with the specified function number, but with no arguments.
The completion status of the request is returned via the request status object, aStatus.
-
panic
- USER 72 if the function number is negative.
Parameters
TInt aFunction | The function number identifying the request. |
TRequestStatus & aStatus | The request status object used to contain the completion status of the request. |
SendReceive(TInt)
TInt
| SendReceive | ( | TInt | aFunction | ) | const [inline] |
Issues a synchronous request to the server with the specified function number, but with no arguments.
-
panic
- USER 72 if the function number is negative.
Parameters
TInt aFunction | The function number identifying the request. |
SendResetAssistanceData(TLbsAssistanceDataGroup)
SetAssistanceDataProvider(TUid)
IMPORT_C TBool | SetAssistanceDataProvider | ( | TUid | aProvider | ) | |
Select which assitance data provider to use
Parameters
TUid aProvider | the TUid of the provider to use |
SetDefaultAssitanceDataFilter(TLbsAssistanceDataGroup &)
Set the default assitance data returned
SetEmergenyStatus(TBool)
Set the emergeny status of the phone
Parameters
TBool aEmergency | ETrue if the phone should be in emergeny status |
SetMoreAssitanceDataFilter(TLbsAssistanceDataGroup &)
Set the default assitance data returned if more assitance data is required
SetQuality(TLbsNetPosRequestQuality &)
SetReferenceLocation(TPosition &)
Set the reference location to use
The reference location is passed to the assitance data supply module when retrieving assistance data.
SetReferenceLocation(TDesC8 &)
Set the reference location to use
The reference location is passed to the assitance data supply module when retrieving assistance data.
Parameters
TDesC8 & aLocation | the reference location |
SetResponseError(TInt32, TBool)
Set the error to respond to a request
Parameters
TInt32 aError | any error value |
TBool aSticky | continue using this delay until further notice |
SetResponseTime(TInt32, TBool)
Set the time taken to respond to a request
Parameters
TInt32 aTime | the time in milliseconds to wait before responding |
TBool aSticky | continue using this delay until further notice |
SetRoamingStatus(TBool)
Set the roaming status of the phone
Parameters
TBool aRoaming | ETrue if the phone should be in roaming status |
SetStepMode(TBool)
Enable the simulators step mode
Parameters
TBool aStepMode | ETrue to enter step mode |
StartNetworkLocationRequest()
IMPORT_C void | StartNetworkLocationRequest | ( | ) | |
Start a network location request
StartNetworkPrivacyRequest(TLbsNetPosRequestPrivacy, TLbsExternalRequestInfo &)
Start a network privacy request
StartServer()
TInt
| StartServer | ( | ) | [private, static] |
Member Data Documentation
const TInt KNetSimNetworkNotAvailable
const TInt | KNetSimNetworkNotAvailable | [static] |
CMessageReleaseLcsLocationNotification * iMessageReleaseLcsLocationNotification
CMessageStartNetworkLocationRequest * iMessageStartNetworkLocationRequest
CNotificationConnect * iNotificationConnect
CNotificationDisconnect * iNotificationDisconnect
CNotificationFacilityLcsMoLrResult * iNotificationFacilityLcsMoLrResult
CNotificationMeasurementControlLocation * iNotificationMeasurementControlLocation
CNotificationMeasurementReport * iNotificationMeasurementReport
CNotificationMeasurementReportControlFailure * iNotificationMeasurementReportControlFailure
CNotificationMeasurementReportRequestMoreAssitanceData * iNotificationMeasurementReportRequestMoreAssitanceData
CNotificationRegisterLcsMoLr * iNotificationRegisterLcsMoLr
CNotificationReleaseLcsMoLr * iNotificationReleaseLcsMoLr
MLbsNetSimTestObserver * iObserver
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.