upnp/upnpstack/controlpointbase/inc/upnpserviceunsubscriptionhttptransaction.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 CUpnpServiceUnsubscriptionHttpTransaction
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef UPNPSERVICEUNSUBSCRIBETRANSACTION_H
       
    19 #define UPNPSERVICEUNSUBSCRIBETRANSACTION_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 #include <e32base.h>
       
    24 #include "upnphttptransaction.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 class CUpnpControlPoint;
       
    28 /**
       
    29  *  Cupnpserviceunsubscribetransaction
       
    30  * 
       
    31  */
       
    32 
       
    33 NONSHARABLE_CLASS( CUpnpServiceUnsubscriptionHttpTransaction ) : public CUpnpHttpTransaction
       
    34     {
       
    35 public:
       
    36     // Constructors and destructor
       
    37 
       
    38     /**
       
    39     * Destructor.
       
    40     */
       
    41     ~CUpnpServiceUnsubscriptionHttpTransaction();
       
    42 
       
    43     /**
       
    44     * Two-phased constructor.
       
    45     */
       
    46     static CUpnpServiceUnsubscriptionHttpTransaction* NewLC( CUpnpHttpMessage* aRequest,
       
    47                                                              CUpnpControlPoint& aControlPoint );
       
    48 
       
    49 private:
       
    50 
       
    51     /**
       
    52     * Constructor for performing 1st stage construction
       
    53     */
       
    54     CUpnpServiceUnsubscriptionHttpTransaction( CUpnpHttpMessage* aRequest,
       
    55                                                CUpnpControlPoint& aControlPoint );
       
    56 
       
    57     /**
       
    58     * Callback called when response comes.
       
    59     * Processes response by passing it to control point.
       
    60     */
       
    61     virtual void ProcessResponseL();
       
    62 
       
    63 private: 
       
    64 
       
    65 	//control point, now owned
       
    66     CUpnpControlPoint& iControlPoint;
       
    67     };
       
    68 
       
    69 #endif // UPNPSERVICEUNSUBSCRIBETRANSACTION_H