Swi::CUissClientHandler Class Reference
class Swi::CUissClientHandler : public CActive
|
This class communicates asynchronously with UISS using reverse completion mechanism, making requests to UISS and receiving completions with requests to display dialogs to the user, which it does by calling back to UI implementation (see
Swi::MUiHandler
and
Swi::Launcher
).
Constructor & Destructor Documentation
CUissClientHandler(MUiHandler &, TBool)
CUissClientHandler
|
(
|
MUiHandler
&
|
aUiHandler,
|
|
TBool
|
aActiveObjectMode
|
|
)
|
[private]
|
CUissClientHandler(const CUissClientHandler &)
~CUissClientHandler()
~CUissClientHandler
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AllocBufL(TInt)
void
|
AllocBufL
|
(
|
TInt
|
aSize
|
)
|
[private]
|
Cancel()
void
|
Cancel
|
(
|
)
|
[private]
|
CancelOperation()
Cancels operation in progress
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Allocates a buffer for reverse-completion commands. The buffer is going to be resized in case it is not sufficient for a dialog command.
DoCancel()
void
|
DoCancel
|
(
|
)
|
[private, virtual]
|
Cancel any internal request and complete the client request.
HandleOverflowL()
void
|
HandleOverflowL
|
(
|
)
|
[private]
|
InitializeArgStreamL(const CInstallPrefs &)
void
|
InitializeArgStreamL
|
(
|
const
CInstallPrefs
&
|
aInstallPrefs
|
)
|
[private]
|
InstallL(const CInstallPrefs &, const RArray< TInt > &, TRequestStatus &, RThread &)
Performs installation asynchronously. The r/c mechanism is handled internally.
IsBusy()
Returns true if an install/uninstall operation is in progress. This is different to
IsActive()
which just returns true if we have an outstanding request on the UISS.
NewL(MUiHandler &, TBool)
NewLC(MUiHandler &, TBool)
RunError(TInt)
TInt
|
RunError
|
(
|
TInt
|
aError
|
)
|
[private, virtual]
|
RunL()
void
|
RunL
|
(
|
)
|
[private, virtual]
|
Process a completion of an internal request to the UISS server.
StartUiss()
TInt
|
StartUiss
|
(
|
)
|
[private, static]
|
Starts UISS in a new thread of the same SISHelper process. Later SWIS will connect to UISS to show dialogs.
UissCmdHandlerFactoryL(TInt)
Creates a command handler object corresponding to the specified UI dialog request from SWIS
UissThreadFunction(TAny *)
TInt
|
UissThreadFunction
|
(
|
TAny
*
|
|
)
|
[private, static]
|
UISS thread function to run UISS in the same process.
UninstallL(const CSisRegistryPackage &, TRequestStatus &)
Performs uninstallation asynchronously. The r/c mechanism is handled internally.
WaitForSisHelperShutdown()
void
|
WaitForSisHelperShutdown
|
(
|
)
|
[private]
|
WorkUntilCompleteL()
void
|
WorkUntilCompleteL
|
(
|
)
|
|
Used during synchronous operation to issue/process all requests until operation is complete.
operator=(const CUissClientHandler &)
Member Data Documentation
const TInt KBufSize
const
TInt
|
KBufSize
|
[private, static]
|
TBool
iActiveObjectMode
TBool
|
iActiveObjectMode
|
[private]
|
CWriteStream * iArgsStream
MCancelHandler * iCancelHandler
TRequestStatus * iClientStatus
TPtrC8
iPtrIntoArgsStream
TPtrC8
|
iPtrIntoArgsStream
|
[private]
|
TPtr8
iPtrIntoBuf
TPtr8
|
iPtrIntoBuf
|
[private]
|
RUissSession
iUissSession
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.