fotaapplication/fotaserver/inc/FotasrvSession.h
branchRCL_3
changeset 26 19bba8228ff0
parent 25 b183ec05bd8c
child 27 5cc2995847ea
--- a/fotaapplication/fotaserver/inc/FotasrvSession.h	Tue Aug 31 16:04:06 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,102 +0,0 @@
-/*
- * Copyright (c) 2005 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:   Represent client's session at serverside
- *
- */
-
-#ifndef CFOTASRVSESSION_H
-#define CFOTASRVSESSION_H
-
-// INCLUDES
-
-#include <fotaengine.h>
-#include "FotaServer.h"
-
-// CLASS DECLARATION
-/**
- *  Fotaserver's session class
- *
- *  @lib    fotaserver.exe
- *  @since  S60 v3.1
- */
-class CFotaSrvSession : public CSession2
-    {
-public:
-
-    CFotaSrvSession();
-
-    /**
-     * C++ Destructor
-     */
-    virtual ~CFotaSrvSession();
-
-    /**
-     * Getter for fotaserver
-     *
-     * @since   S60   v3.1
-     * @param   None
-     * @return  Fotaserver
-     */
-    CFotaServer* FotaServer() const;
-
-public:
-    // new functions
-
-    /**
-     * Checks client secure id (dmhostserver,fotaserver,fotatester) 
-     *
-     * @since   S60   v3.1
-     * @param   Message containing client details
-     * @return  is it fotaserver
-     */
-    static TFotaClient CheckClientSecureIdL(const RMessage2& aMessage);
-
-protected:
-
-    /**
-     * service client request
-     *
-     * @since   S60   v3.1
-     * @param   aMessage     message containing client request details
-     * @return  None
-     */
-    void ServiceL(const RMessage2& aMessage);
-
-    /**
-     * Called from ServiceL to handle the request 
-     * @param aMessage
-     * @return None
-     */
-    void DispatchMessageL(const RMessage2& aMessage);
-
-
-    /**
-     * Handle service error
-     *
-     * @since   S60   v3.1
-     * @param aMessage  Msg that resulted in error
-     * @param aError    Error code
-     * @return None
-     */
-    void ServiceError(const RMessage2& aMessage, TInt aError);
-
-private:
-    /**
-     * Error caught while writing data into FS
-     */
-    TInt iError;
-
-    };
-
-#endif