hti/HtiServicePlugins/HtiIpProxyServicePlugin/IPProxyEngine/Src/MExpressionObserverTCP.h
branchRCL_3
changeset 59 8ad140f3dd41
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
       
     1 /*
       
     2 * Copyright (c) 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:  Callback functions for a TCP protocol expression observer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MEXPRESSIONOBSERVERTCP_H
       
    21 #define MEXPRESSIONOBSERVERTCP_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "MExpressionObserver.h"
       
    25 
       
    26 #include <e32def.h>
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  Events for TCP protocol expressions (eg. TCP_OPEN, ...).
       
    32 */
       
    33 NONSHARABLE_CLASS( MExpressionObserverTCP ) :
       
    34             public MExpressionObserver
       
    35     {
       
    36 
       
    37     public: // Abstract functions
       
    38 
       
    39         virtual void OpenLocalTCPConnectionL( TUint aPort ) = 0;
       
    40 
       
    41         virtual void OpenListeningTCPConnectionL( TUint aPort ) = 0;
       
    42 
       
    43         virtual void CloseTCPConnectionL( TUint aPort ) = 0;
       
    44 
       
    45         virtual void CloseAllTCPConnections() = 0;
       
    46     };
       
    47 
       
    48 #endif      // MEXPRESSIONOBSERVERTCP_H
       
    49 
       
    50 // End of File