natfw/natfwstunturnclient/inc/cstunbindingactive.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2005 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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef C_CSTUNBINDINGACTIVE_H
       
    22 #define C_CSTUNBINDINGACTIVE_H
       
    23 
       
    24 // INCLUDES
       
    25 #include "cstunbindingstate.h"
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32  *  In this state, the binding is active and has a public address mapping
       
    33  *
       
    34  *  @lib ?library
       
    35  *  @since S60 ?S60_version *** for example, S60 v3.0
       
    36  */
       
    37 class CSTUNBindingActive : public CSTUNBindingState
       
    38     {
       
    39     public: // Constructors and destructor
       
    40 
       
    41         /**
       
    42         * Constructor
       
    43         * @param aGetSharedSecret GetSharedSecret state
       
    44         */
       
    45         CSTUNBindingActive( CSTUNBindingState& aGetSharedSecret );
       
    46 
       
    47           /**
       
    48         * Destructor
       
    49         */
       
    50         virtual ~CSTUNBindingActive();
       
    51 
       
    52     public: // From CSTUNBindingState
       
    53 
       
    54         void SendRequestL( CBindingImplementation& aContext ) const;
       
    55 
       
    56     private:
       
    57 
       
    58         CSTUNBindingActive();
       
    59 
       
    60         CSTUNBindingActive( const CSTUNBindingActive& aBindingActive );
       
    61 
       
    62     private: // Data
       
    63 
       
    64         //Next possible states
       
    65         CSTUNBindingState& iGetSharedSecret;
       
    66     };
       
    67 
       
    68 #endif // C_CSTUNBINDINGACTIVE_H