connectivitylayer/isce/isirouter_dll/inc/misilinkrouterif.h
author mikaruus
Tue, 19 Oct 2010 13:16:20 +0300
changeset 9 8486d82aef45
parent 5 8ccc39f9d787
permissions -rw-r--r--
modemadaptation release 2010wk40

/*
* 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 __ISILINKROUTERIF_H__
#define __ISILINKROUTERIF_H__

#include <e32def.h>                 // For TInt, TAny

/*
* Abstract interface for link to use router services.
*/
class MISILinkRouterIf
    {

    public:

        /*
        * Route ISI messages
        * @param aMsg, message to be routed
        * TODO:
		* @return Error value
        */
        virtual TInt RouteISIMessage( TDes8& aMsg,  TBool aDynamicSenderCheckNeeded ) = 0;
        
        /*
        * Receive message from link.
        * Called without FM held.
        * @param aMsg, message to be received
		* @return Error value
        */
        virtual void ReceiveISIMessage( const TDesC8& aMessage, const TUint8 aTrxId ) = 0;
        
        /*
        * Called with FM held.
        * NOTE! restrictions when used with FM held.
        */
        virtual void StateChanged() = 0;

    };



#endif /* __ISILINKROUTERIF_H__ */