upnp/upnpstack/controlpointbase/src/upnpserviceunsubscriptionhttptransaction.cpp
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 #include "upnpserviceunsubscriptionhttptransaction.h"
       
    19 #include "upnpcontrolpoint.h"
       
    20 
       
    21 // -----------------------------------------------------------------------------
       
    22 // CUpnpServiceUnsubscriptionHttpTransaction::CUpnpServiceUnsubscriptionHttpTransaction
       
    23 // -----------------------------------------------------------------------------
       
    24 //
       
    25 CUpnpServiceUnsubscriptionHttpTransaction::CUpnpServiceUnsubscriptionHttpTransaction(
       
    26     CUpnpHttpMessage* aRequest, CUpnpControlPoint& aControlPoint) :
       
    27     CUpnpHttpTransaction( aRequest ), iControlPoint( aControlPoint )
       
    28     {
       
    29     // No implementation required
       
    30     }
       
    31 // -----------------------------------------------------------------------------
       
    32 // CUpnpServiceUnsubscriptionHttpTransaction::~CUpnpServiceUnsubscriptionHttpTransaction
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 CUpnpServiceUnsubscriptionHttpTransaction::~CUpnpServiceUnsubscriptionHttpTransaction()
       
    36     {
       
    37     }
       
    38 // -----------------------------------------------------------------------------
       
    39 // CUpnpServiceUnsubscriptionHttpTransaction::NewLC
       
    40 // Two-phased constructor 
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 CUpnpServiceUnsubscriptionHttpTransaction* CUpnpServiceUnsubscriptionHttpTransaction::NewLC(
       
    44                                 CUpnpHttpMessage* aRequest, CUpnpControlPoint& aControlPoint)
       
    45     {
       
    46     CleanupStack::PushL( aRequest );
       
    47     CUpnpServiceUnsubscriptionHttpTransaction* self = 
       
    48             new (ELeave)CUpnpServiceUnsubscriptionHttpTransaction( aRequest, aControlPoint );
       
    49         CleanupStack::Pop( aRequest );
       
    50         CleanupStack::PushL( self );
       
    51         self->BaseConstructL( );
       
    52         return self;
       
    53     }
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // CUpnpServiceUnsubscriptionHttpTransaction::ProcessResponseL
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 void CUpnpServiceUnsubscriptionHttpTransaction::ProcessResponseL()
       
    60     {
       
    61     iControlPoint.UnSubscriptionResponseReceived();
       
    62     }
       
    63 
       
    64 //end of file