connectivitylayer/isce/isirouter_dll/inc/isicltransceiver.h
author mikaruus <mika.a.ruuskanen@nokia.com>
Thu, 14 Jan 2010 10:44:58 +0200
changeset 5 8ccc39f9d787
parent 0 63b37f68c1ce
child 7 fa67e03b87df
permissions -rw-r--r--
New release based on our 2010wk02 release

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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:
*
*/

#ifndef __ISICLTRANSCEIVER_H__
#define __ISICLTRANSCEIVER_H__

#include "misilinkrouterif.h"     // For MISILinkRouterIf
#include "isiinternaldefs.h"      // For KMaxNumOfObjId

class MISIRouterLinkIf;
class DISIRouter;

NONSHARABLE_CLASS( DISICLTransceiver ) : public DBase, public MISILinkRouterIf
    {

    public:

        DISICLTransceiver( DISIRouter* aPtr );

        ~DISICLTransceiver();

        TInt ValidateISIMessage( TDes8& aMessage );

        TInt SendCommIsaEntityNotReachableResp( TDes8& aMessage );

        TUint8 MapDeviceToMedia( const TUint8 aDevice );

        //From MISILinkRouterIf
        TInt RouteISIMessage( TDes8& aMessage );

    private:

        enum TISIMedias
            {
            EISIMediaSharedMemory = 0x00,
            EISIMediaTest,
            EISIAmountOfMedias
            };

        MISIRouterLinkIf**   iLinksArray;
        DISIRouter*          iRouter;

    };

#endif /* __ISICLTRANSCEIVER_H__ */