CMMFControllerProxySession Class Reference

#include <mmf/common/mmfcontrollerframeworkclasses.h>

Link against: mmfcontrollerframework.lib

class CMMFControllerProxySession : public CMmfIpcSession

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)[virtual]

Reimplemented from CMmfIpcSession::CreateL(const CMmfIpcServer &)

Second phase constructor called by the CServer base class.

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

Since
7.0s
ParameterDescription
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

Returns: The newly created server.

SendEventToClient ( const TMMFEvent & )

TInt SendEventToClient(const TMMFEvent &aEvent)

Derived from MAsyncEventHandler.

See also: MAsyncEventHandler

Since
7.0s

ServiceL ( const RMmfIpcMessage & )

voidServiceL(const RMmfIpcMessage &aMessage)[virtual]

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.

Since
7.0s
ParameterDescription
aMessageThe request to be handled. The controller proxy session will create a TMMFMessage from this, and pass on the request to the controller base class to handle.