diff -r 703a2b94c06c -r dde4619868dc tsrc/testtools/stubsrv/inc/stubsrvsession.h --- a/tsrc/testtools/stubsrv/inc/stubsrvsession.h Wed Sep 15 13:20:24 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ -/* -* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - -#ifndef SESSION_H -#define SESSION_H - -#include -#include - -class CStubSrv; -class CApiExecutor; - -/** -* CStubSrvSess class represent session on server side -* -*/ -NONSHARABLE_CLASS(CStubSrvSess) : public CSession2 - { -public: - - static CStubSrvSess* NewL(CStubSrv& aServer); - - ~CStubSrvSess(); - - void InvokeApiComplete(); - - TInt ConsumeApiBehavior(const TApiBehavior& aBeh, TInt aExeDuration); - -private: - - void ServiceL(const RMessage2& aMessage); - - void DispatchMessageL(const RMessage2& aMessage); - - -private: - - CStubSrvSess(CStubSrv& aServer); - - void ConstructL(); - -private: - CStubSrv& iServer; - - CApiExecutor* iExecutor; - }; - -#endif // SESSION_H - -// End of File