bearermanagement/S60MCPR/inc/s60tiermanagerfactory.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 15 Mar 2010 12:42:11 +0200
branchRCL_3
changeset 13 68f0c7cd80ec
parent 0 5a93021fdf25
permissions -rw-r--r--
Revision: 201009 Kit: 201010

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "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: S60 IP tier manager factory
*
*/

/**
@file s60tiermanagerfactory.h
S60 IP TM factory
*/

#ifndef S60TIERMANAGERFACTORY_H
#define S60TIERMANAGERFACTORY_H

#include <comms-infras/ss_tiermanager.h>
#include <in_sock.h>

/**
 * Factory for TM.
 */
class CS60TierManagerFactory : public ESock::CTierManagerFactoryBase
    {
public:

	enum {
		iTypeId = KAfInet ,
		iUid = 0x101F6D4A };
    /** 
     * Factory function for the factory which manages ip level meta connection providers.
     * This function also acts as the single ECom entry point into this object.
     * @param aParentContainer the parent factory container which owns this factory
     * @return factory for IP level meta connection providers
     */
    static CS60TierManagerFactory* NewL( TAny* aParentContainer );
protected:
    /** 
     * Constructor for Ip level meta connection providers.
     * @param aFactoryId the ID which this factory can be looked up by
     * @param aParentContainer the parent factory container which owns this factory
     */
	CS60TierManagerFactory( TUid aTierTypeId, TUid aFactoryUid, ESock::CTierManagerFactoryContainer& aParentContainer );
    /**
     * DoCreateObjectL
     */
    virtual ESock::ACommsFactoryNodeId* DoCreateObjectL( ESock::TFactoryQueryBase& aQuery );
    };

#endif //S60TIERMANAGERFACTORY_H