#include <mw/wac/wacserviceipcobserver.h>
| class WAC::MServiceIPCObserver |
| Public Member Functions | |
|---|---|
| pure virtual void | handleCancelRequest(ServiceIPCRequest *) |
| pure virtual void | handleClientConnect(ClientInfo *) |
| pure virtual void | handleClientDisconnect(ClientInfo *) |
| pure virtual bool | handleRequest(ServiceIPCRequest *) |
Interface Observer class to handle IPC related events
| void | handleCancelRequest | ( | ServiceIPCRequest * | aRequest | ) | [pure virtual] |
Handle any cancellation of an asynchronous request.
| Parameters | |
|---|---|
| aRequest | request object that is going to be cancelled, ownership NOT passed Object will be cleaned up after callback returns |
| void | handleClientConnect | ( | ClientInfo * | aNewClient | ) | [pure virtual] |
Handle the connection of a new client to the server
| Parameters | |
|---|---|
| aNewClient | information about the new client, including session ID |
| void | handleClientDisconnect | ( | ClientInfo * | aClient | ) | [pure virtual] |
Handle the disconnection of a client from the server. This callback is called when a client disconnects (ie closes a session)
| Parameters | |
|---|---|
| aClient | information about the client that is disconected |
| bool | handleRequest | ( | ServiceIPCRequest * | aRequest | ) | [pure virtual] |
Handle a new request
| Parameters | |
|---|---|
| aRequest | request object, ownership NOT passed |