connectivitylayer/isce/isicommunicationmanager_dll/inc/isicommunicationmanager.h
changeset 5 8ccc39f9d787
child 7 fa67e03b87df
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/connectivitylayer/isce/isicommunicationmanager_dll/inc/isicommunicationmanager.h	Thu Jan 14 10:44:58 2010 +0200
@@ -0,0 +1,69 @@
+/*
+* 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 __ISICOMMUNICATIONMANAGER_H__
+#define __ISICOMMUNICATIONMANAGER_H__
+
+#include "misirouterobjectif.h"
+
+class MISIObjectRouterIf;
+class DISIIndicationHandler;
+
+/*
+* ISI router.
+*/
+NONSHARABLE_CLASS( DISICommunicationManager ) : public DBase, public MISIRouterObjectIf
+    {
+
+    public:
+
+        /*
+        * Default contructor
+        */
+        DISICommunicationManager();
+
+        /*
+        * Destructor
+        */
+        ~DISICommunicationManager();
+
+        /*
+        * See comments from MISIRouterObjectIf
+        */
+        void Receive( const TDesC8& aMessage );
+
+        void SendNameAddReqs();
+        
+        void SendPNSSubscribeResp( const TDesC8& aMessage );
+        
+    private:
+
+        static void InitDfc( TAny* aPtr );
+        
+        // Owned
+        static DMutex*         iCommunicationManagerMutex;
+        TDfc*                  iInitDfc;
+        DISIIndicationHandler* iISIIndicationHandler;
+        TUint8                 iObjId;
+        // Not owned
+        MISIObjectRouterIf*    iRouter;
+        
+    };
+
+#endif /* __ISICOMMUNICATIONMANAGER_H__ */
+