hti/HtiServicePlugins/HtiIpProxyServicePlugin/IPProxyEngine/Inc/CommRouterDefinitions.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 0 a03f92240627
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:  Constant definitions for IPProxyEngine
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef COMMROUTERDEFINITIONS_H
       
    21 #define COMMROUTERDEFINITIONS_H
       
    22 
       
    23 
       
    24 // Definitions for protocol frames
       
    25 _LIT8( KTCPPrefix, "TCP:" );
       
    26 _LIT8( KTCPOpenPrefix, "TCP_OPEN:" );
       
    27 _LIT8( KTCPLstnPrefix, "TCP_LSTN:" );
       
    28 _LIT8( KTCPClosePrefix, "TCP_CLOSE:" );
       
    29 _LIT8( KTCPCloseAllPrefix, "TCP_CLOSEALL:" );
       
    30 _LIT8( KUDPPrefix, "UDP:" );
       
    31 
       
    32 const TInt KMaxPrefixLength = 10;
       
    33 
       
    34 _LIT8( KPortSuffix, "," );
       
    35 _LIT8( KLengthSuffix, ",[" );
       
    36 _LIT8( KDataSuffix, "]" );
       
    37 _LIT8( KMessageSuffix, "" );
       
    38 
       
    39 _LIT8( KTCPPortPrefix, "[" );
       
    40 _LIT8( KTCPPortSuffix, "]" );
       
    41 
       
    42 const TInt KHexDecimalLength = 4;
       
    43 _LIT8( KHexFormat,"%04x" );
       
    44 
       
    45 #endif      // COMMROUTERDEFINITIONS_H
       
    46 
       
    47 // End of File