realtimenetprots/sipfw/SIP/SIPSec/IpSecPlugin/inc/CStateInUse.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          : CStateInUse.h
       
    16 * Part of       : SIPSec
       
    17 * Version       : SIP/4.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef CSTATEINUSE_H
       
    29 #define CSTATEINUSE_H
       
    30 
       
    31 #include "CState.h"
       
    32 
       
    33 /**
       
    34  * @brief CSipSecAgreeRecord state "in use"
       
    35  *        Record is in autheticated state - 200 OK has been received through
       
    36  *        SA. Record can be used for all requests (not just for registration
       
    37  *        as temporal record).
       
    38  * 
       
    39  */
       
    40 class CInUse : public CState
       
    41 	{
       
    42 public:
       
    43 
       
    44 	CInUse();
       
    45 	
       
    46 	CState::TSecAgreeRecordState State();
       
    47 	
       
    48 	void TimerExpiredL( CSipSecAgreeRecord& aRecord, 
       
    49 						TTimerId aTimerId, 
       
    50 						TAny* aTimerParam );
       
    51 			  	  	
       
    52 	void RegisterL( CSipSecAgreeRecord& aRecord, 
       
    53 	                CSIPRequest& aRequest, 
       
    54 	                TSIPTransportParams& aTransportParams,
       
    55 	                const TDesC8& aOutboundProxy );
       
    56 	
       
    57 	void ReguestL( CSipSecAgreeRecord& aRecord, 
       
    58 	               CSIPRequest& aRequest, 
       
    59 	               TSIPTransportParams& aTransportParams,
       
    60 	               const TDesC8& aOutboundProxy );
       
    61 				   
       
    62 	void Resp2xxL( CSipSecAgreeRecord& aRecord, CSIPResponse& aResponse );
       
    63 	
       
    64 	void ProcessSecVerifyL( 
       
    65 	            CSipSecAgreeRecord& aRec,
       
    66 	            RPointerArray<CSIPSecurityVerifyHeader>& aSecurityVerify );
       
    67 				      
       
    68 	};
       
    69     
       
    70 #endif // CSTATEINUSE_H
       
    71 
       
    72 // End of File