CLbsSuplPush Class Reference
class CLbsSuplPush : public CBase
|
The
CLbsSuplPush
class provides an interface to send SUPL INIT Push messages into the LBS sub-system. Normally SUPL INIT messages arrive through SMS or WAP push and, if accepted, result in the opening of a a TCP/IP connection to the SLP (SUPL Server).
Although it is possible for multiple threads to open a channel of the same type (e.g. SMS or WAP), only one thread can actively use the channel at any time. A system requiring concurrent access to a channel must provide its own access control mechanism.
Unless documented explicitly, no assumptions should be made about the order and/or content of notifications generated by the LBS sub-system through this or other interfaces.
MLbsSuplPushObserver
Constructor & Destructor Documentation
CLbsSuplPush()
CLbsSuplPush
|
(
|
)
|
[private]
|
CLbsSuplPush(const CLbsSuplPush &)
~CLbsSuplPush()
~CLbsSuplPush
|
(
|
)
|
[virtual]
|
Closes the interface and disposes all open or used resources.
Member Functions Documentation
ConstructL(TLbsSuplPushChannel, MLbsSuplPushObserver &)
2nd phase constructor. Creates and assigns all the required internal resources.
NewL(TLbsSuplPushChannel, MLbsSuplPushObserver &)
Opens a new SUPL Push channel to the LBS sub-system.
-
capability
-
NetworkServices
-
capability
-
ReadDeviceData
SuplInit(TLbsSuplPushRequestId &, const TDesC8 &, TInt)
Sends a SUPL INIT message to the LBS sub-system. If the channel is busy sending a previous message the new one will be queued. The request completion code is received through a call-back.
Please note that only one thread can actively use a channel at any time. Simultaneous use of a channel by multiple threads may cause some of the requests to time out.
A system requiring concurrent access to a channel must provide its own access control mechanism.
Parameters
TLbsSuplPushRequestId
& aReqId
|
[Out] Channel unique request Id.
|
const
TDesC8
& aMsg
|
[In] A buffer containing a SUPL INIT message.
|
TInt
aReserved
|
[In] Reserved for future use.
|
operator=(const CLbsSuplPush &)
Member Data Documentation
CLbsSuplPushImpl * iImpl
CLbsSuplPushImpl* Impl is the internal handle to the Implementation
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.