telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerconnprovider.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 // Connection Provider
       
    15 //  (control plane)
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef CMBUFGOBBLERCONNPROVIDER_H
       
    24 #define CMBUFGOBBLERCONNPROVIDER_H
       
    25 
       
    26 // INCLUDES
       
    27 #include <e32std.h>
       
    28 #include <e32base.h>
       
    29 #include <comms-infras/corecpr.h>
       
    30 #include "mbufgobblertestflags.h"
       
    31 
       
    32 
       
    33 
       
    34 
       
    35 // CLASS DECLARATION
       
    36 
       
    37 /**
       
    38  *  CMbufGobblerConnProvider
       
    39  * 
       
    40  */
       
    41 
       
    42 //comment on diffeent super class options e.g. CMobilityConnectionProvider
       
    43 class ESock::CConnectionProviderFactoryBase;
       
    44 class CMbufGobblerConnProvider : public CCoreConnectionProvider
       
    45 	{
       
    46 public:
       
    47 	// Constructors and destructor
       
    48 	static CMbufGobblerConnProvider* NewL(ESock::CConnectionProviderFactoryBase& aFactory);
       
    49 
       
    50 	/**
       
    51 	 * Destructor.
       
    52 	 */
       
    53 	~CMbufGobblerConnProvider();
       
    54 
       
    55 	
       
    56 protected: //from CCoreConnectionProvider
       
    57 	void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage);
       
    58 
       
    59 private:
       
    60 
       
    61 	/**
       
    62 	 * Constructor for performing 1st stage construction
       
    63 	 */
       
    64 	CMbufGobblerConnProvider(ESock::CConnectionProviderFactoryBase& aFactory);
       
    65 
       
    66 	/**
       
    67 	 * EPOC default constructor for performing 2nd stage construction
       
    68 	 */
       
    69 	void ConstructL();
       
    70 	
       
    71 private:
       
    72 	TInt iClientCount; //holds count of clients that node is joined with
       
    73 
       
    74 	MBUFGOBBLER_TEST_DATA
       
    75 	};
       
    76 
       
    77 #endif // CMBUFGOBBLERCONNPROVIDER_H