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