realtimenetprots/sipfw/SIP/SIPSec/IpSecPlugin/inc/CStateClearing.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          : CStateClearing.h
       
    16 * Part of       : SIPSec
       
    17 * Version       : SIP/4.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef CSTATECLEARING_H
       
    29 #define CSTATECLEARING_H
       
    30 
       
    31 #include "CState.h"
       
    32 
       
    33 /**
       
    34  * @brief CSipSecAgreeRecord state "clearing"
       
    35  *        Deleting SA and unloading policy, initiated by ClearCache request
       
    36  *        from SIPSec FW
       
    37  * 
       
    38  */
       
    39 class CClearing : public CState
       
    40 	{
       
    41 public:
       
    42 	
       
    43 	CClearing();
       
    44 	
       
    45 	CState::TSecAgreeRecordState State();
       
    46 	
       
    47 	void RegisterL( CSipSecAgreeRecord& aRec,
       
    48                     CSIPRequest& aRequest,
       
    49                     TSIPTransportParams& aTransportParams,
       
    50                    	const TDesC8& aOutboundProxy );
       
    51 	
       
    52 	void SaDeleted( CSipSecAgreeRecord& aRecord );
       
    53 	
       
    54 	void PolicyUnloaded( CSipSecAgreeRecord& aRec );
       
    55 	
       
    56 private:
       
    57 
       
    58     void CompleteIfReady( CSipSecAgreeRecord& aRec );
       
    59 				      
       
    60 	};
       
    61     
       
    62 #endif // CSTATECLEARING_H
       
    63 
       
    64 // End of File