realtimenetprots/sipfw/SIP/SIPSec/IpSecPlugin/inc/CStateOld.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2004-2009 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:
       
    15 * Name          : CStateOld.h
       
    16 * Part of       : SIPSec
       
    17 * Version       : SIP/4.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef CSTATEOLD_H
       
    29 #define CSTATEOLD_H
       
    30 
       
    31 #include "CState.h"
       
    32 
       
    33 /**
       
    34  * @brief CSipSecAgreeRecord state "old"
       
    35  *        Other record has been taken in use but old SA is still needed, when
       
    36  *        first request is sent through new SA, old one will change its state
       
    37  *        to dying
       
    38  * 
       
    39  */
       
    40 class COld : public CState
       
    41 	{
       
    42 public:
       
    43 
       
    44 	COld();
       
    45 	
       
    46 	CState::TSecAgreeRecordState State();
       
    47 	
       
    48 	void TimerExpiredL( CSipSecAgreeRecord& aRecord,
       
    49 						TTimerId aTimerId, 
       
    50 						TAny* aTimerParam );
       
    51 						
       
    52 	void ReguestL( CSipSecAgreeRecord& aRecord, 
       
    53 	               CSIPRequest& aRequest, 
       
    54 	               TSIPTransportParams& aTransportParams,
       
    55 	               const TDesC8& aOutboundProxy );
       
    56 		      
       
    57 	};		
       
    58     
       
    59 #endif // CSTATEOLD_H
       
    60 
       
    61 // End of File