telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblermetaconnprovider.h
branchRCL_3
changeset 82 042fd2753b8f
equal deleted inserted replaced
74:9200f38b1324 82:042fd2753b8f
       
     1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Meta Connection Provider
       
    15 //  (management plane)
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef MBUFGOBBLERMETACONNPROVIDER_H
       
    24 #define MBUFGOBBLERMETACONNPROVIDER_H
       
    25 
       
    26 // INCLUDES
       
    27 #include <e32std.h>
       
    28 #include <e32base.h>
       
    29 #include <comms-infras/coremcpr.h>
       
    30 #include "mbufgobblertestflags.h"
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35  *  CMbufGobblerMetaConnectionProvider
       
    36  * 
       
    37  */
       
    38 	
       
    39 class CMbufGobblerMetaConnectionProvider : public CCoreMetaConnectionProvider
       
    40 	{
       
    41 public:
       
    42 	static CMbufGobblerMetaConnectionProvider* NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory,
       
    43 											const ESock::TProviderInfo& aProviderInfo);
       
    44 	~CMbufGobblerMetaConnectionProvider();
       
    45 	 
       
    46 protected:
       
    47 	CMbufGobblerMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory,
       
    48 	const ESock::TProviderInfo& aProviderInfo, const MeshMachine::TNodeActivityMap& aActivityMap);
       
    49 
       
    50 	void ConstructL();
       
    51 	
       
    52 	// From MCFNode Interface 
       
    53 	void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aCFMessage);
       
    54 private:
       
    55 	TInt iClientCount; //holds count of clients that node is joined with
       
    56 	MBUFGOBBLER_TEST_DATA	
       
    57 	};
       
    58 
       
    59 
       
    60 #endif // MBUFGOBBLERMETACONNPROVIDER_H