upnp/upnpstack/controlpointbase/inc/upnpcpstackrequestorimplbase.h
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 /** @file
       
     2 * Copyright (c) 2008 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:  Provides default implementation of MUpnpCpHttpClientRequestor interface.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef UPNPCPSTACKREQUESTORIMPLBASE_H_
       
    19 #define UPNPCPSTACKREQUESTORIMPLBASE_H_
       
    20 
       
    21 #include "upnpcpstackrequestor.h"
       
    22 #include <e32base.h>
       
    23 
       
    24 
       
    25 
       
    26 /**
       
    27  * Base implementation. Class used in WLan Lost case.
       
    28  */
       
    29 NONSHARABLE_CLASS( CUpnpCpStackRequestorImplBase ) : public CBase, 
       
    30                                                      public MUpnpCpStackRequestor
       
    31     {
       
    32 public: //from MUpnpCpStackRequestor
       
    33 
       
    34     virtual void SearchL( const TDesC8& aSearchString );
       
    35     virtual void SearchL( const TDesC16& aSearchString );
       
    36     virtual void AddCustomerL( const MUpnpDispatcherCustomer& aCustomer );
       
    37     virtual void RemoveCustomer( const MUpnpDispatcherCustomer& aCustomer );
       
    38     virtual TInetAddr HttpServerAddress();    
       
    39     virtual void SendLocalRequestL( CUpnpHttpMessage* aMessage,
       
    40                                     MUpnpDispatcherCustomer& aCustomer );
       
    41     virtual void SendMessageL( CUpnpHttpMessage* aMessage,
       
    42                                MUpnpDispatcherCustomer& aCustomer,
       
    43                                TBool aIsLocal );
       
    44     virtual void StopIgnoringL( const TDesC8& aUuids );
       
    45     virtual void StartIPFilteringL();
       
    46     virtual void StopIPFiltering();
       
    47     virtual void StopHttpServer();
       
    48     virtual void StartHttpServerL();
       
    49     
       
    50 
       
    51     };
       
    52 
       
    53 #endif //UPNPCPSTACKREQUESTORIMPLBASE_H_