cryptoservices/filebasedcertificateandkeystores/source/certapps/server/CCertAppsSession.h
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 2004-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 * CCertAppsSession class implementation
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file 
       
    24  @internalTechnology
       
    25 */
       
    26 
       
    27 #ifndef __CCERAPPSSESSION_H__
       
    28 #define __CCERAPPSSESSION_H__
       
    29 
       
    30 #include "fsserver.h"
       
    31 
       
    32 class RMessage2;
       
    33 class CCertAppsConduit;
       
    34 
       
    35 /**
       
    36  * A cert apps session.
       
    37  *
       
    38  * Handles client requests by passing them to the cert apps conduit.
       
    39  */
       
    40 class CCertAppsSession : public CTokenServerSession
       
    41 	{
       
    42 public:
       
    43 	/**
       
    44 	 * Create a new session object.
       
    45 	 * @param aConduit The cert apps conduit used to service user requests.
       
    46 	 */
       
    47 	static CCertAppsSession* NewL(CCertAppsConduit& aConduit);
       
    48 	
       
    49 private:
       
    50 	CCertAppsSession(CCertAppsConduit& aConduit);
       
    51 	virtual void DoServiceL(const RMessage2& aMessage);
       
    52 private:
       
    53 	CCertAppsConduit& iConduit;
       
    54 	};
       
    55 
       
    56 #endif