diff -r 000000000000 -r f5a58ecadc66 upnp/upnpstack/controlpointbase/inc/upnpcpbinitialeventretryhandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/upnp/upnpstack/controlpointbase/inc/upnpcpbinitialeventretryhandler.h Tue Feb 02 01:12:20 2010 +0200 @@ -0,0 +1,61 @@ +/** @file +* Copyright (c) 2005-2006 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: +* +*/ + +#ifndef CUPNPCPBINITIALEVENTRETRYHANDLER_H +#define CUPNPCPBINITIALEVENTRETRYHANDLER_H + +// INCLUDES +#include +#include + +// CLASS DECLARATION +class CUpnpGenaMessage; +class CUpnpControlPoint; +class CUpnpCpbInitialEventRetry; + +/** + * CUpnpCpbInitialEventRetryHandler + * + */ +NONSHARABLE_CLASS( CUpnpCpbInitialEventRetryHandler ) : public CBase + { +public: + + // Constructors and destructor + CUpnpCpbInitialEventRetryHandler( CUpnpControlPoint& aCp ); + + ~CUpnpCpbInitialEventRetryHandler(); + + /** + * Adds Gena message to handler, ownership of the argument is passed through + * @param aMsg Gena message + */ + void AddL( CUpnpGenaMessage* aMsg ); + + /** + * Method to be invoked by CUpnpCpbInitialEventRetry + * @param aTimer retry timer + */ + void TimerExpired( CUpnpCpbInitialEventRetry* aEventRetry ); + +private: + + RPointerArray iList; + CUpnpControlPoint& iControlPoint; + }; + +#endif // CUPNPCPBINITIALEVENTRETRYHANDLER_H