MAlfMetricsInterface Class Reference

class MAlfMetricsInterface

Member Functions Documentation

EnterClientMessageL(TInt, const RMessage2 &)

void EnterClientMessageL ( TInt aSessionId,
const RMessage2 & aMessage
) [pure virtual]

New message from client has arrived. If the message shouldn't be processed futhther by session, Message must be completed in the implementation of method

Parameters

TInt aSessionId identifies the session which received the message.
const RMessage2 & aMessage refence to arrived message

ExitClientMessage(TInt, const RMessage2 &)

void ExitClientMessage ( TInt aSessionId,
const RMessage2 & aMessage
) [pure virtual]

Handling of message has been completed in server, server is about to enter back to active status

Parameters

TInt aSessionId identifies the session which received the message.
const RMessage2 & aMessage refence to arrived message

GetAuxiliaryTrace()

MAlfTraceInterface & GetAuxiliaryTrace ( ) const [pure virtual]

Get auxiliary trace object for tracing without exact session id.

Since
S60 v3.2

GetDefaultSessionId()

TInt GetDefaultSessionId ( ) const [pure virtual]

Get the current default session id. If there's no default session defined, the id will be 0.

Since
S60 v3.2

GetDefaultSessionTrace()

MAlfTraceInterface & GetDefaultSessionTrace ( ) const [pure virtual]

Get trace object for default session. If there's no default session defined, the auxiliary trace will be returned.

Since
S60 v3.2

GetTraceForSession(TInt)

MAlfTraceInterface * GetTraceForSession ( TInt aSessionId ) const [pure virtual]

Get trace object for session id.

Since
S60 v3.2

Parameters

TInt aSessionId Session id

PopDefaultSession()

void PopDefaultSession ( ) [pure virtual]

Restore to previous default session.

Since
S60 v3.2

PushDefaultSession(TInt)

void PushDefaultSession ( TInt aSessionId ) [pure virtual]

Make new session be the default session

Since
S60 v3.2

Parameters

TInt aSessionId Session id

SessionCreated(TInt)

void SessionCreated ( TInt aSessionId ) [pure virtual]

Called when new session is created on the server.

Parameters

TInt aSessionId Session id for new session

SessionTerminated(TInt)

void SessionTerminated ( TInt aSessionId ) [pure virtual]

Called when session is closing down on the server.

Parameters

TInt aSessionId Session id for the session