First public contribution.
1 // Copyright (c) 2002-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.
16 #ifndef __LOGSERVSHUTDOWNTIMER_H__
17 #define __LOGSERVSHUTDOWNTIMER_H__
22 LogEng server shutdown timer.
23 If the connection (session) count to the LogEng server becomes 0 and the server is transient
24 then the timer will be scheduled to run after KLogShutdownDelay microseconds (set to be 2 seconds).
25 If during that period of time no connetcion to the server is established then the server will be
31 class CLogServShutdownTimer : public CTimer
34 static CLogServShutdownTimer* NewL(TInt aPriority);
38 CLogServShutdownTimer(TInt aPriority);
43 private: // Internal constants
44 enum { KLogShutdownDelay = 2000000 };