os/security/cryptoservices/filebasedcertificateandkeystores/source/certapps/server/CCertAppsConduit.h
First public contribution.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * CCertAppsConduit class implementation
25 #ifndef __CCERTAPPSCONDUIT_H__
26 #define __CCERTAPPSCONDUIT_H__
31 // forward declarations
32 class CFSCertAppsServer;
35 * Unmarshalls incoming client messages, calls the cert apps server and
36 * marshalls the results back to the client again.
38 class CCertAppsConduit : public CBase
41 static CCertAppsConduit* NewL(CFSCertAppsServer& aServer);
43 // Function to handle a CertApp request
44 void ServiceCertAppsRequestL(const RMessage2& aMessage);
50 // Message handler functions called by service method - these unmarshall the
51 // parameters and call the real server
52 void AddL(const RMessage2& aMessage) const;
53 void RemoveL(const RMessage2& aMessage) const;
54 void ApplicationCountL(const RMessage2& aMessage) const;
55 void ApplicationsL(const RMessage2& aMessage) const;
56 void ApplicationL(const RMessage2& aMessage) const;
59 CCertAppsConduit(CFSCertAppsServer& aServer);
62 CFSCertAppsServer& iServer;