installationservices/swtransactionservices/inc_private/stsserversession.h
branchRCL_3
changeset 25 7333d7932ef7
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * stsserver.h
       
    16 * Defines server-side class which is used to implement the STS server session.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 /**
       
    22  @file
       
    23  @internalComponent
       
    24  @released
       
    25 */
       
    26  
       
    27 
       
    28 #ifndef __STSSERVERSESSION_H__
       
    29 #define __STSSERVERSESSION_H__
       
    30 
       
    31 #include <scs/scsserver.h>
       
    32 #include "stscommon.h"
       
    33 #include "integrityservices.h"
       
    34 
       
    35 namespace Usif
       
    36 	{
       
    37     class CStsServer;
       
    38     
       
    39 	class CStsServerSession : public CScsSession
       
    40 	/**
       
    41 		The instance of this class is used to service STS client requests and 
       
    42 		is created for each client. 
       
    43 	 */
       
    44 		{
       
    45 	public:
       
    46 		static CStsServerSession* NewL(CStsServer &aServer, const RMessage2& aMessage);
       
    47 		~CStsServerSession();
       
    48 				
       
    49 		// implement CScsSession
       
    50 		TBool DoServiceL(TInt aFunction, const RMessage2& aMessage);
       
    51 
       
    52 	private:
       
    53 		CStsServerSession(CStsServer& aServer);
       
    54 		void ConstructL();
       
    55 		
       
    56 	private:
       
    57 		CIntegrityServices* iTransactionPtr;
       
    58 		};
       
    59 	
       
    60 	} // End of namespace SCRSERVER_H				
       
    61 #endif