os/security/cryptoservices/filebasedcertificateandkeystores/source/certapps/server/CCertAppsSession.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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  @file 
    22  @internalTechnology
    23 */
    24 
    25 #ifndef __CCERAPPSSESSION_H__
    26 #define __CCERAPPSSESSION_H__
    27 
    28 #include "fsserver.h"
    29 
    30 class RMessage2;
    31 class CCertAppsConduit;
    32 
    33 /**
    34  * A cert apps session.
    35  *
    36  * Handles client requests by passing them to the cert apps conduit.
    37  */
    38 class CCertAppsSession : public CTokenServerSession
    39 	{
    40 public:
    41 	/**
    42 	 * Create a new session object.
    43 	 * @param aConduit The cert apps conduit used to service user requests.
    44 	 */
    45 	static CCertAppsSession* NewL(CCertAppsConduit& aConduit);
    46 	
    47 private:
    48 	CCertAppsSession(CCertAppsConduit& aConduit);
    49 	virtual void DoServiceL(const RMessage2& aMessage);
    50 private:
    51 	CCertAppsConduit& iConduit;
    52 	};
    53 
    54 #endif