CMmfIpcServer Class Reference

class CMmfIpcServer : public CServer2

Inherits from

Constructor & Destructor Documentation

CMmfIpcServer(TInt, TServerType)

CMmfIpcServer(TIntaPriority,
TServerTypeaType = EUnsharableSessions
)[protected, inline]

Parameters

TInt aPriority
TServerType aType = EUnsharableSessions

Member Functions Documentation

NewSessionL(const TVersion &)

CMmfIpcSession *NewSessionL(const TVersion &aVersion)const [protected, pure virtual]

Parameters

const TVersion & aVersion

NewSessionL(const TVersion &, const RMessage2 &)

CSession2 *NewSessionL(const TVersion &aVersion,
const RMessage2 &aMessage
)const [private, inline, virtual]

Creates a server-side session object.

The session represents a communication link between a client and a server, and its creation is initiated by the client through a call to one of the RSessionBase::CreateSession() variants.

A server must provide an implementation, which as a minimum should:

  • check that the version of the server is compatible with the client by comparing the client supplied version number against the server's version number; it should leave if there is incompatibility.

  • construct and return the server side client session object.

User::QueryVersionSupported()

Parameters

const TVersion & aVersionThe version information supplied by the client.
const RMessage2 & aMessageRepresents the details of the client request that is requesting the creation of the session.