| class CMMFControllerProxySession : public CMmfIpcSession |
The controller proxy session.
Only one session can be connected to a controller proxy server.
| Public Member Functions | |
|---|---|
| ~CMMFControllerProxySession () | |
| void | CreateL (const CMmfIpcServer &) |
| CMMFControllerProxySession * | NewL () |
| TInt | SendEventToClient (const TMMFEvent &) |
| void | ServiceL (const RMmfIpcMessage &) |
| Private Member Functions | |
|---|---|
| CMMFControllerProxySession () | |
| TBool | CancelReceiveEvents ( TMMFMessage &) |
| TBool | LoadControllerL ( TMMFMessage &) |
| TBool | ReceiveEventsL ( TMMFMessage &) |
| Inherited Enumerations | |
|---|---|
| CSession2:TPanicNo | |
| Private Attributes | |
|---|---|
| CMMFController * | iController |
| CMMFEventReceiver * | iEventReceiver |
| RArray < TMMFEvent > | iEvents |
| CMMFControllerProxyServer * | iServer |
| 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.
| TMMFMessage & aMessage | The request to be handled. |
| void | CreateL | ( | 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.
| const CMmfIpcServer & aServer | A reference to the server to which this session is attached. |
| 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.
| TMMFMessage & aMessage | The request to be handled. |
| CMMFControllerProxySession * | NewL | ( | ) | [static] |
Construct the session.
This method may leave with one of the system-wide error codes.
| 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.
| TMMFMessage & aMessage | The request to be handled. |
| TInt | SendEventToClient | ( | const TMMFEvent & | aEvent | ) |
Derived from MAsyncEventHandler .
| const TMMFEvent & aEvent |
| void | ServiceL | ( | 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.
| const RMmfIpcMessage & aMessage | The 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. |
| CMMFEventReceiver * | iEventReceiver | [private] |
The event receiver. Used to send events to the client.
| RArray < TMMFEvent > | iEvents | [private] |
The events waiting to be sent to the client.
| CMMFControllerProxyServer * | iServer | [private] |
A pointer to the server.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.