#include <mmf/common/mmfcontrollerframeworkclasses.h>
class CMMFControllerProxyServer : public CMmfIpcServer |
Public Member Functions | |
---|---|
~CMMFControllerProxyServer() | |
CMMFControllerProxyServer * | NewL(RServer2 *) |
virtual TInt | RunError(TInt) |
void | SessionCreated() |
void | SessionDestroyed() |
IMPORT_C TInt | StartThread(TAny *) |
Inherited Attributes | |
---|---|
CActive::iStatus | |
CServer2::iSessionIter |
Inherited Enumerations | |
---|---|
CActive:TPriority | |
CServer2:TPanic | |
CServer2:TServerType |
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.
CMMFControllerProxyServer * | NewL | ( | RServer2 * | aServer2 | ) | [static] |
Construct the server.
This method may leave with one of the system-wide error codes.
Returns: The newly created server.
Reimplemented from CServer2::RunError(TInt)
Called by the active scheduler when the ServiceL of the session leaves. Completes the message with the error and restarts the server.
Parameter | Description |
---|---|
aError | The error that the session ServiceL left with. |
Returns: KErrNone
void | SessionCreated | ( | ) |
Signals that the session has been created.
Stops the shutdown timer.
void | SessionDestroyed | ( | ) |
Signals that the session has been destroyed. Causes the server to shut down immediately.
Static thread function.
The address of this function is passed into RThread::Create.
Unpackages the startup parameters and calls DoStartThreadL().
Returns: One of the system-wide error codes.