natfw/natfwstunturnclient/inc/cstunsharedsecretconnecting.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_CSTUNSHAREDSECRETCONNECTING_H
       
    22 #define C_CSTUNSHAREDSECRETCONNECTING_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32base.h>
       
    26 #include "cstunsharedsecretstate.h"
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33  *  Waiting for TLS connection to be formed. 
       
    34  */
       
    35 class CSTUNSharedSecretConnecting : public CSTUNSharedSecretState
       
    36     {
       
    37     public: // Constructors and destructor
       
    38 
       
    39         CSTUNSharedSecretConnecting(
       
    40             const CSTUNSharedSecretState& aWaitResponse );
       
    41 
       
    42           /**
       
    43         * Destructor
       
    44         */
       
    45         ~CSTUNSharedSecretConnecting();
       
    46 
       
    47     public: // From CSTUNSharedSecretState
       
    48     
       
    49         void TlsConnectedL( CSTUNSharedSecret& aContext ) const;
       
    50     
       
    51         void ErrorOccured( CSTUNSharedSecret& aContext, TInt aError )  const;
       
    52 
       
    53         void TimerExpiredL( CSTUNSharedSecret& aContext ) const;
       
    54 
       
    55     private:
       
    56 
       
    57         CSTUNSharedSecretConnecting();
       
    58 
       
    59         CSTUNSharedSecretConnecting(
       
    60             const CSTUNSharedSecretConnecting& aConnecting );
       
    61 
       
    62     private: // Data
       
    63 
       
    64         //Next possible states
       
    65         const CSTUNSharedSecretState& iWaitResponse;
       
    66     };
       
    67 
       
    68 #endif // C_CSTUNSHAREDSECRETCONNECTING_H