upnp/upnpstack/controlpointbase/inc/upnpcpbinitialeventretryhandler.h
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 /** @file
       
     2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies  this distribution, and is available 
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CUPNPCPBINITIALEVENTRETRYHANDLER_H
       
    19 #define CUPNPCPBINITIALEVENTRETRYHANDLER_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 #include <e32base.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 class CUpnpGenaMessage;
       
    27 class CUpnpControlPoint;
       
    28 class CUpnpCpbInitialEventRetry;
       
    29 
       
    30 /**
       
    31  *  CUpnpCpbInitialEventRetryHandler
       
    32  * 
       
    33  */
       
    34 NONSHARABLE_CLASS( CUpnpCpbInitialEventRetryHandler ) : public CBase
       
    35     {
       
    36 public:        
       
    37     
       
    38     // Constructors and destructor
       
    39     CUpnpCpbInitialEventRetryHandler( CUpnpControlPoint& aCp );
       
    40     
       
    41     ~CUpnpCpbInitialEventRetryHandler();
       
    42    
       
    43     /**
       
    44      * Adds Gena message to handler, ownership of the argument is  passed through     
       
    45      * @param aMsg Gena message
       
    46      */ 
       
    47     void AddL( CUpnpGenaMessage* aMsg ); 
       
    48 
       
    49     /**
       
    50      * Method to be invoked by CUpnpCpbInitialEventRetry      
       
    51      * @param aTimer retry timer
       
    52      */ 
       
    53     void TimerExpired( CUpnpCpbInitialEventRetry* aEventRetry );
       
    54 
       
    55 private:
       
    56      
       
    57     RPointerArray<CUpnpCpbInitialEventRetry> iList;
       
    58     CUpnpControlPoint& iControlPoint;
       
    59     };
       
    60 
       
    61 #endif // CUPNPCPBINITIALEVENTRETRYHANDLER_H