MAlfMetricsInterface Class Reference

class MAlfMetricsInterface

Member Functions Documentation

EnterClientMessageL(TInt, const RMessage2 &)

voidEnterClientMessageL(TIntaSessionId,
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 aSessionIdidentifies the session which received the message.
const RMessage2 & aMessagerefence to arrived message

ExitClientMessage(TInt, const RMessage2 &)

voidExitClientMessage(TIntaSessionId,
const RMessage2 &aMessage
)[pure virtual]

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

Parameters

TInt aSessionIdidentifies the session which received the message.
const RMessage2 & aMessagerefence 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(TIntaSessionId)const [pure virtual]

Get trace object for session id.

Since
S60 v3.2

Parameters

TInt aSessionIdSession id

PopDefaultSession()

voidPopDefaultSession()[pure virtual]

Restore to previous default session.

Since
S60 v3.2

PushDefaultSession(TInt)

voidPushDefaultSession(TIntaSessionId)[pure virtual]

Make new session be the default session

Since
S60 v3.2

Parameters

TInt aSessionIdSession id

SessionCreated(TInt)

voidSessionCreated(TIntaSessionId)[pure virtual]

Called when new session is created on the server.

Parameters

TInt aSessionIdSession id for new session

SessionTerminated(TInt)

voidSessionTerminated(TIntaSessionId)[pure virtual]

Called when session is closing down on the server.

Parameters

TInt aSessionIdSession id for the session