realtimenetprots/sipfw/SIP/TransactionUser/src/CancelUACStates.cpp
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Name          : CancelUACStates.cpp
       
    15 // Part of       : TransactionUser
       
    16 // Version       : SIP/5.0
       
    17 //
       
    18 
       
    19 
       
    20 
       
    21 #include "SipAssert.h"
       
    22 
       
    23 #include "CancelUAC.h"
       
    24 #include "CancelUACStates.h"
       
    25 
       
    26 
       
    27 // -----------------------------------------------------------------------------
       
    28 // CCancelUAC_Start::CCancelUAC_Start
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 CCancelUAC_Start::CCancelUAC_Start()
       
    32 	{
       
    33 	}
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // CCancelUAC_Start::~CCancelUAC_Start
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 CCancelUAC_Start::~CCancelUAC_Start()
       
    40 	{
       
    41 	}
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // CCancelUAC_Start::SetNeighbourStates
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 void CCancelUAC_Start::SetNeighbourStates(CUserAgentState& aWaitResponse)
       
    48 	{
       
    49 	iWaitResponse = &aWaitResponse;
       
    50 	}
       
    51 
       
    52 // -----------------------------------------------------------------------------
       
    53 // CCancelUAC_Start::SendCancelL
       
    54 // -----------------------------------------------------------------------------
       
    55 //
       
    56 void CCancelUAC_Start::SendCancelL(CUserAgent& aUserAgent,
       
    57 								   TTransactionId aInviteTaId) const
       
    58 	{
       
    59 	CCancelUAC::Ptr(aUserAgent).CreateAndSendCancelL(aInviteTaId);
       
    60 	aUserAgent.ChangeState(*iWaitResponse);
       
    61 	}