connectivitylayer/isce/isicommunicationmanager_dll/inc/isicommunicationmanager.h
changeset 5 8ccc39f9d787
child 7 fa67e03b87df
equal deleted inserted replaced
4:510c70acdbf6 5:8ccc39f9d787
       
     1 /*
       
     2 * Copyright (c) 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 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __ISICOMMUNICATIONMANAGER_H__
       
    20 #define __ISICOMMUNICATIONMANAGER_H__
       
    21 
       
    22 #include "misirouterobjectif.h"
       
    23 
       
    24 class MISIObjectRouterIf;
       
    25 class DISIIndicationHandler;
       
    26 
       
    27 /*
       
    28 * ISI router.
       
    29 */
       
    30 NONSHARABLE_CLASS( DISICommunicationManager ) : public DBase, public MISIRouterObjectIf
       
    31     {
       
    32 
       
    33     public:
       
    34 
       
    35         /*
       
    36         * Default contructor
       
    37         */
       
    38         DISICommunicationManager();
       
    39 
       
    40         /*
       
    41         * Destructor
       
    42         */
       
    43         ~DISICommunicationManager();
       
    44 
       
    45         /*
       
    46         * See comments from MISIRouterObjectIf
       
    47         */
       
    48         void Receive( const TDesC8& aMessage );
       
    49 
       
    50         void SendNameAddReqs();
       
    51         
       
    52         void SendPNSSubscribeResp( const TDesC8& aMessage );
       
    53         
       
    54     private:
       
    55 
       
    56         static void InitDfc( TAny* aPtr );
       
    57         
       
    58         // Owned
       
    59         static DMutex*         iCommunicationManagerMutex;
       
    60         TDfc*                  iInitDfc;
       
    61         DISIIndicationHandler* iISIIndicationHandler;
       
    62         TUint8                 iObjId;
       
    63         // Not owned
       
    64         MISIObjectRouterIf*    iRouter;
       
    65         
       
    66     };
       
    67 
       
    68 #endif /* __ISICOMMUNICATIONMANAGER_H__ */
       
    69