CMMFControllerProxyServer Class Reference

#include <mmf/common/mmfcontrollerframeworkclasses.h>

Link against: mmfcontrollerframework.lib

class CMMFControllerProxyServer

Detailed Description

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.

Since
7.0s

Constructor & Destructor Documentation

~CMMFControllerProxyServer ( )

~CMMFControllerProxyServer()

Destructor.

Since
7.0s

Member Function Documentation

NewL ( RServer2 * )

CMMFControllerProxyServer *NewL(RServer2 *aServer2)[static]

Construct the server.

This method may leave with one of the system-wide error codes.

Since
7.0s
Return Value
The newly created server.

RunError ( TInt )

TInt RunError(TIntaError)

Called by the active scheduler when the ServiceL of the session leaves.

Completes the message with the error and restarts the server.

Since
7.0s
Parameters
aErrorThe error that the session ServiceL left with.
Return Value
KErrNone

SessionCreated ( )

voidSessionCreated()

Signals that the session has been created.

Stops the shutdown timer.

Since
7.0s

SessionDestroyed ( )

voidSessionDestroyed()

Signals that the session has been destroyed.

Causes the server to shut down immediately.

Since
7.0s

StartThread ( TAny * )

IMPORT_C TIntStartThread(TAny *aParam)[static]

Static thread function.

The address of this function is passed into RThread::Create.

Unpackages the startup parameters and calls DoStartThreadL().

Since
7.0s
Return Value
One of the system-wide error codes.