First public contribution.
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Comms debug utility (File and Serial logger) server side header
23 #ifndef __COMSDBGSTUB_H__
24 #define __COMSDBGSTUB_H__
29 _LIT(KFLoggerServerName,"!Comsdbg server"); ///< Identifier to symbian OS server system.
33 * CFileLoggerServer - maintain server state
35 * This class is responsible for maintaining the server state. It provides
36 * control of the second thread, the ini file change notifier, the current
37 * list of valid logs and other ini file settings, and
40 class CFileLoggerServer : public CServer2
43 static CFileLoggerServer* NewL();
46 virtual CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const;
48 virtual TInt RunError(TInt aError);
54 class MIniFlushModeAndLogValidQuery;
55 class MIniLoggingMediaQuery;
60 * This class is responsible for servicing the client requests sent. It forms the back-end server side of
61 * each client connection to flogger server and implements the ServiceL() to service all client requests.
63 class CFileLogSession : public CSession2
66 static CFileLogSession* NewL();
69 virtual void ServiceL(const RMessage2& aMessage);
79 FLogger - flogger server process startup class
80 This class contains functions to start the flogger server.
88 IMPORT_C static TInt Start();
89 IMPORT_C static TInt Run();
96 #endif // __COMSDBGSTUB_H__