|
||
class RPositionerSubSessionBase : public RSubSessionBase;
Abstract base class for all positioning sub-sessions, including RPositioner
.
RSubSessionBase
-
Client-side handle to a sub-session.
RPositionerSubSessionBase
- Abstract base class for all positioning sub-sessions, including RPositioner.
Defined in RPositionerSubSessionBase
:
CancelRequest(TInt)
Cancels a previously issued asynchronous request. The TRequestStatus of the orig...CompleteRequest(TInt)
Completes the outstanding request method identified by aRequestId. This results ...ExtendedInterface(TInt,TAny *,TAny *)
This method is used to allow polymorphic extensions to the API without breaking ...RPositionerSubSessionBase()
Constructor for the abstract base class RPositionerSubSessionBaseInherited from RSubSessionBase
:
CloseSubSession(TInt)
Closes the sub-session.CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
Creates a new sub-session within an existing session. The new sub-session takes ...CreateSubSession(const RSessionBase &,TInt)
Creates a new sub-session within an existing session.CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
Creates a new sub-session within an existing session.Send(TInt)const
Sends a blind message to the server - no reply is expected.Send(TInt,const TIpcArgs &)const
Sends a blind message to the server - no reply is expected.SendReceive(TInt)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.SendReceive(TInt,const TIpcArgs &)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.Session()const
Returns a copy of the session associated with this sub-session.SubSessionHandle()const
Gets the sub-session handle number.RPositioner
This class is used to create a sub-session with the server for the purpose of ob...protected: IMPORT_C RPositionerSubSessionBase();
Constructor for the abstract base class RPositionerSubSessionBase
IMPORT_C TInt CancelRequest(TInt aRequestId);
Cancels a previously issued asynchronous request. The TRequestStatus
of the original request will be set to KErrCancel if the cancellation request was successful, or any other Symbian OS error
code if CancelRequest was called too late.
|
|
IMPORT_C TInt CompleteRequest(TInt aRequestId);
Completes the outstanding request method identified by aRequestId. This results in the outstanding request being completed immediately. Any currently available information is returned to the application via the usual mechanism. This data may be different from what would be returned if the request had been allowed to finish under the normal circumstances.
Note in particular, RPositionerSubSessionBase::CompleteRequest(TInt)
does not cancel the request.
The only currently supported request that can be completed early is RPositioner::NotifyPositionUpdate(TPositionInfoBase &,TRequestStatus &)const
. The parameter aRequestId must be set to EPositionerNotifyPositionUpdate.
If the request has finished ealier than normal, the TRequestStatus
of the completed request will hold the value KPositionEarlyComplete
|
|
protected: IMPORT_C virtual TAny* ExtendedInterface(TInt aFunctionNumber, TAny *aPtr1, TAny *aPtr2);
This method is used to allow polymorphic extensions to the API without breaking BC. See documentation for explanation.
|
|