CMMFControllerProxySession Class Reference

#include <mmf/common/mmfcontrollerframeworkclasses.h>

Link against: mmfcontrollerframework.lib

class CMMFControllerProxySession : public MAsyncEventHandler

Inherits from

Detailed Description

The controller proxy session.

Only one session can be connected to a controller proxy server.

Since
7.0s

Constructor & Destructor Documentation

~CMMFControllerProxySession ( )

~CMMFControllerProxySession()

Destructor.

Member Function Documentation

CreateL ( const CMmfIpcServer & )

voidCreateL(const CMmfIpcServer &aServer)

Second phase constructor called by the CServer base class.

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

Since
7.0s
Parameters
aServerA reference to the server to which this session is attached.

NewL ( )

Construct the session.

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

Since
7.0s
Return Value
The newly created server.

SendEventToClient ( const TMMFEvent & )

TInt SendEventToClient(const TMMFEvent &aEvent)[virtual]

Reimplemented from MAsyncEventHandler::SendEventToClient(const TMMFEvent &)

Derived from MAsyncEventHandler.

See also: MAsyncEventHandler

Since
7.0s

ServiceL ( const RMmfIpcMessage & )

voidServiceL(const RMmfIpcMessage &aMessage)

Called by the CServer baseclass when a request has been made by the client.

This function may leave with on of the system-wide error codes. If

a leave occurs, the message will be automatically completed by the

RunError() of the Controller Proxy Server.

a TMMFMessage from this, and pass on the request to the controller

base class to handle.

Since
7.0s
Parameters
aMessageThe request to be handled. The controller proxy session will create