CMMFControllerProxySession Class Reference

class CMMFControllerProxySession : public CMmfIpcSession

The controller proxy session.

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

Since
7.0s

Inherits from

Constructor & Destructor Documentation

CMMFControllerProxySession()

CMMFControllerProxySession()[private]

Constructor

~CMMFControllerProxySession()

~CMMFControllerProxySession()

Destructor.

Member Functions Documentation

CancelReceiveEvents(TMMFMessage &)

TBool CancelReceiveEvents(TMMFMessage &aMessage)[private]

Handle a request from the client to stop receiving events from the controller framework.

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

Parameters

TMMFMessage & aMessageThe request to be handled.

CreateL(const CMmfIpcServer &)

voidCreateL(const CMmfIpcServer &aServer)[virtual]

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

const CMmfIpcServer & aServerA reference to the server to which this session is attached.

LoadControllerL(TMMFMessage &)

TBool LoadControllerL(TMMFMessage &aMessage)[private]

Handle a request from the client to load a controller plugin.

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

Parameters

TMMFMessage & aMessageThe request to be handled.

NewL()

CMMFControllerProxySession *NewL()[static]

Construct the session.

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

Since
7.0s

ReceiveEventsL(TMMFMessage &)

TBool ReceiveEventsL(TMMFMessage &aMessage)[private]

Handle a request from the client to register to receive events from the controller framework.

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

Parameters

TMMFMessage & aMessageThe request to be handled.

SendEventToClient(const TMMFEvent &)

TInt SendEventToClient(const TMMFEvent &aEvent)

Derived from MAsyncEventHandler.

MAsyncEventHandler
Since
7.0s

Parameters

const TMMFEvent & aEvent

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

Parameters

const RMmfIpcMessage & 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.

Member Data Documentation

CMMFController * iController

CMMFController *iController[private]

The controller plugin.

CMMFEventReceiver * iEventReceiver

CMMFEventReceiver *iEventReceiver[private]

The event receiver. Used to send events to the client.

RArray< TMMFEvent > iEvents

RArray< TMMFEvent >iEvents[private]

The events waiting to be sent to the client.

CMMFControllerProxyServer * iServer

CMMFControllerProxyServer *iServer[private]

A pointer to the server.