CFileLogSession Class Reference

class CFileLogSession : public CSession2

CFileLogSession -

This class is responsible for servicing the client requests sent. It forms the back-end server side of each client connection to flogger server and implements the ServiceL() to service all client requests.

Inherits from

Constructor & Destructor Documentation

CFileLogSession(MLogArrayAccess &, const MIniFlushModeAndLogValidQuery &)

CFileLogSession ( MLogArrayAccess & aArrayAccess,
const MIniFlushModeAndLogValidQuery & aLogValidQuery
) [private]

Parameters

MLogArrayAccess & aArrayAccess
const MIniFlushModeAndLogValidQuery & aLogValidQuery

~CFileLogSession()

~CFileLogSession ( )

Member Functions Documentation

CheckClientHasSetTagsL(const RMessage2 &)

void CheckClientHasSetTagsL ( const RMessage2 & aMessage ) [private]
Ensure for a connection that the client has set the tags, otherwise panic.
Note:

Tags are kept server side so that we don't need to store the tags in the client and pass them through with each request.

Parameters

const RMessage2 & aMessage the current client message in progress

IniFileChanged()

void IniFileChanged ( )

NewL(MLogArrayAccess &, const MIniFlushModeAndLogValidQuery &)

CFileLogSession * NewL ( MLogArrayAccess & aArrayAccess,
const MIniFlushModeAndLogValidQuery & aLogValidQuery
) [static]
Construct new server end of session.
Note:

Only called from CFileLoggerServer::NewSessionL()

Parameters

MLogArrayAccess & aArrayAccess
const MIniFlushModeAndLogValidQuery & aLogValidQuery

ServiceL(const RMessage2 &)

void ServiceL ( const RMessage2 & aMessage ) [virtual]
Processes message from client-side (RFileLogger)
Note:

Most messages result in logs being added to the queue. If synchronous logging is on, this function will wait until the queue is then emptied.

Parameters

const RMessage2 & aMessage

SetLoggingOnOffInClient()

void SetLoggingOnOffInClient ( )

Member Data Documentation

MLogArrayAccess & iArrayAccess

MLogArrayAccess & iArrayAccess [private]

TNameTag iComponent

TNameTag iComponent [private]

const MIniFlushModeAndLogValidQuery & iFlushModeLogValidQuery

const MIniFlushModeAndLogValidQuery & iFlushModeLogValidQuery [private]

TBool iLogValid

TBool iLogValid [private]

RMessage2 iSetLogMessage

RMessage2 iSetLogMessage [private]

TNameTag iSubsystem

TNameTag iSubsystem [private]

TThreadId iThreadId

TThreadId iThreadId [private]