ChspsRequestClient Class Reference
class ChspsRequestClient : public CActive
|
Request client
hspsrequestclient.lib
-
Since
-
S60 5.0
Constructor & Destructor Documentation
ChspsRequestClient(MhspsClientRequestServiceObserver &)
~ChspsRequestClient()
~ChspsRequestClient
|
(
|
)
|
[virtual]
|
~ChspsRequestClient.
Destructor. Destroys the object and release all memory objects.
Member Functions Documentation
CallGetOdtInFileL(const ThspsConfiguration &, ChspsODT &)
Sends a request to the server, retrieves a file path, internalizes the file and copies resources from the server to client's private folder
-
Since
-
S60 5.0
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DoCancel()
void
|
DoCancel
|
(
|
)
|
[protected, virtual]
|
From
CActive
, DoCancel. Cancels any outstanding operation.
GethspsResult(ChspsResult &)
Parameters
ChspsResult
& aResult
|
is a ChspsResult object containing additional information of query result.
|
NewL(MhspsClientRequestServiceObserver &)
NewL. Two-phased constructor. Creates a ChspsClient object using two phase construction, and return a pointer to the created object.
NewLC(MhspsClientRequestServiceObserver &)
NewLC. Two-phased constructor. Creates a
ChspsRequestClient
object using two phase construction, and return a pointer to the created object.
RunError(TInt)
TInt
|
RunError
|
(
|
TInt
|
aError
|
)
|
[protected, virtual]
|
From
CActive
Called when asynchronous request has failed
-
Since
-
S60 3.1
RunL()
void
|
RunL
|
(
|
)
|
[protected, virtual]
|
From
CActive
, RunL. Callback function. Invoked to handle responses from the server.
SetLogBus(void *)
IMPORT_C void
|
SetLogBus
|
(
|
void *
|
aLogBus
|
)
|
|
Sets a log bus when debugging has been enabled. Empty implementation if non HSPS_LOG_ACTIVE build.
Parameters
void * aLogBus
|
Log bus to be set.
|
UpdatehspsReqNotifParams()
void
|
UpdatehspsReqNotifParams
|
(
|
)
|
[protected]
|
UpdatehspsReqNotifParams. Updates iReqNotifParams with latest notification data coming on client request return.
UpdatehspsResult()
void
|
UpdatehspsResult
|
(
|
)
|
[protected]
|
UpdatehspsResult. Updates iResult with latest result data coming on client request return.
hspsAccessResourceFile(const TDesC &, const ThspsConfiguration &, RFile &)
hspsGetODT(TInt, ChspsODT &)
Member Data Documentation
TBuf8< KMaxHeaderDataLength8 > iHeaderData
TBool
iODTValid
TBool
|
iODTValid
|
[private]
|
MhspsClientRequestServiceObserver & iObserver
iObserver, observer which handles updates from the server.
TBuf8< KMaxReqNotifDataLength8 > iReqNotifData
ChspsRequestNotificationParams * iReqNotifParams
CArrayPtrSeg< ChspsResource > * iResourceList
TBuf8< KMaxResultDataLength8 > iResultData
RhspsClientSession
iSession
iSession, the time server session.
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.