upnp/upnpstack/controlpointbase/inc/upnpdevicedescriptionhttptransaction.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:  Declaration of CUpnpDeviceDescriptionHttpTransaction
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __UPNPDEVICEDESCRIPTIONHTTPTRANSACTION_H__
       
    19 #define __UPNPDEVICEDESCRIPTIONHTTPTRANSACTION_H__
       
    20 
       
    21 #include "upnphttptransaction.h"
       
    22 
       
    23 class CUpnpControlPoint;
       
    24 
       
    25 /**
       
    26  * Http transation to get device description message.
       
    27  */
       
    28 NONSHARABLE_CLASS ( CUpnpDeviceDescriptionHttpTransaction ) : public CUpnpHttpTransaction
       
    29 {
       
    30 public:
       
    31     static CUpnpDeviceDescriptionHttpTransaction* NewLC( CUpnpHttpMessage* aRequest,
       
    32                                                          CUpnpControlPoint& aControlPoint );
       
    33 
       
    34     virtual ~CUpnpDeviceDescriptionHttpTransaction();
       
    35 
       
    36 private:    //from CUpnpHttpTransaction
       
    37     /**
       
    38      * Callback called when response comes.
       
    39      * Processes response by passing it to control point.
       
    40      */
       
    41     virtual void ProcessResponseL();
       
    42 
       
    43 private:
       
    44     CUpnpDeviceDescriptionHttpTransaction(
       
    45         CUpnpHttpMessage* aRequest, CUpnpControlPoint& aControlPoint );
       
    46 
       
    47 private:
       
    48     /**
       
    49      * Reference to control point - for callback purposes.
       
    50      */
       
    51     CUpnpControlPoint& iControlPoint;
       
    52 
       
    53 };
       
    54 
       
    55 #endif /*__UPNPDEVICEDESCRIPTIONHTTPTRANSACTION_H__*/
       
    56 
       
    57 //  End of File
       
    58