CSuplCommunicationManager Class Reference
class CSuplCommunicationManager : public CBase
|
CSuplCommunicationManager
is the Singleton that provides SUPL Connection to be used by Protocol Handler
This provides the methods to create and destroy for SUPL Connection Provides method to handle incoming packets from the network
EPosSuplProtocolHandlerPlugin.dll
-
Since
-
Series 60 3.1M //e.g. Series 60 3.0
Inherits from
-
CSuplCommunicationManager
Constructor & Destructor Documentation
CSuplCommunicationManager()
CSuplCommunicationManager
|
(
|
)
|
[private]
|
From ?base_class ?member_description C++ default constructor.
~CSuplCommunicationManager()
IMPORT_C
|
~CSuplCommunicationManager
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
CreateConnectionL(const TDesC &, const TUint, const TInt)
CreateConnection.
-
Since
-
Series 60 3.1M
Parameters
const
TDesC
& aHostAddress
|
HostAddress with which connection has to be established
|
const
TUint
aPort
|
|
const
TInt
aIAPId
|
|
CreateConnectionL(const TDesC &, TBool, TBool, const TUint, const TInt)
DestroyAllConnections()
void
|
DestroyAllConnections
|
(
|
)
|
[protected]
|
DestroyAllConnections.
-
Since
-
Series 60 3.1M
DestroyConnection(CSuplConnection *)
DestroyConnection.
-
Since
-
Series 60 3.1M
FindConnection(const TDesC &, const TUint)
FindConnection.
-
Since
-
Series 60 3.1M
FindConnection(const CSuplConnection *)
FindConnection.
-
Since
-
Series 60 3.1M
HandlePacket(const TDesC8 &, TUint)
void
|
HandlePacket
|
(
|
const
TDesC8
&
|
aPacket,
|
|
TUint
|
aPortNo
|
|
)
|
|
Parameters
const
TDesC8
& aPacket
|
- The packet received from the network
|
TUint
aPortNo
|
|
HandlePacketError(const TInt)
void
|
HandlePacketError
|
(
|
const
TInt
|
aError
|
)
|
|
From
MSuplPacketNotifier
- To handle any errors while trying to read packets from the network
-
Since
-
Series 60 3.1U
Parameters
const
TInt
aError
|
- The Error value
|
Initialize()
IMPORT_C
TInt
|
Initialize
|
(
|
)
|
|
Initialize.
-
Since
-
Series 60 3.1M
RemoveConnection(TInt)
void
|
RemoveConnection
|
(
|
TInt
|
aIndex
|
)
|
[protected]
|
RemoveConnection.
-
Since
-
Series 60 3.1M
SetPacketReceiver(MSuplPacketReceiver *)
SetPacketReceiver.
-
Since
-
Series 60 3.1M
Member Data Documentation
RPointerArray< CSuplConnection > iConnArray
MSuplPacketReceiver * iPktReceiver
TBool
iServerConnected
TBool
|
iServerConnected
|
[private]
|
CSuplConnTrace * iTrace
CSuplConnTrace *
|
iTrace
|
[private]
|
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.