CMMFControllerProxyServer Class Reference
class CMMFControllerProxyServer : public CMmfIpcServer
|
The controller proxy server.
The main server inside the controller thread, responsible for creating and destroying the single session used to transmit messages from the client to the server.
Every controller plugin runs in its own thread, and has its own controller proxy server.
Inherits from
-
CMMFControllerProxyServer
Constructor & Destructor Documentation
CMMFControllerProxyServer()
CMMFControllerProxyServer
|
(
|
)
|
[private]
|
~CMMFControllerProxyServer()
~CMMFControllerProxyServer
|
(
|
)
|
|
Member Functions Documentation
ConstructL(RServer2 *)
void
|
ConstructL
|
(
|
RServer2
*
|
aServer2
|
)
|
[private]
|
Second phase constructor.
DoStartThreadL(TAny *)
void
|
DoStartThreadL
|
(
|
TAny
*
|
aParam
|
)
|
[private, static]
|
Thread startup code.
Creates the cleanup stack, installs the active scheduler and creates the server. Once all this is completed successfully, it signals the success back to the client.
This function may leave with one of the system-wide error codes.
NewL(RServer2 *)
Construct the server.
This method may leave with one of the system-wide error codes.
NewSessionL(const TVersion &)
Creates a new session. Only one session may be created with the ControllerProxyServer.
This function may leave with one of the system-wide error codes.
Parameters
const
TVersion
& aVersion
|
The version number of the session.
|
RenameControllerProxyThread()
void
|
RenameControllerProxyThread
|
(
|
)
|
[private, static]
|
Renaming Controller Proxy Server name
RunError(TInt)
Called by the active scheduler when the ServiceL of the session leaves. Completes the message with the error and restarts the server.
Parameters
TInt
aError
|
The error that the session ServiceL left with.
|
SessionCreated()
Signals that the session has been created.
Stops the shutdown timer.
SessionDestroyed()
void
|
SessionDestroyed
|
(
|
)
|
|
Signals that the session has been destroyed. Causes the server to shut down immediately.
StartThread(TAny *)
IMPORT_C
TInt
|
StartThread
|
(
|
TAny
*
|
aParam
|
)
|
[static]
|
Member Data Documentation
TBool
iHaveSession
TBool
|
iHaveSession
|
[private]
|
Indicates whether we have a session connected. Only one session is allowed to connect to the server.
CMMFControllerProxyShutdown * iShutdownTimer
The timer used to shut down the server in case the client fails to connect a 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.