multimediacommsengine/tsrc/testdriver/testclient/net/src/CTcTcpConnection.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004 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:  See class definition below.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CTCTCPCONNECTION_H__
       
    19 #define __CTCTCPCONNECTION_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include "CTcBaseConnection.h"
       
    23 
       
    24 // CLASS DEFINITION
       
    25 /**
       
    26  * CTcTcpConnection implements TCP/IP specific connection
       
    27  * initialization on top of CTcBaseConnection.
       
    28  */
       
    29 class CTcTcpConnection
       
    30 	: public CTcBaseConnection
       
    31 	{
       
    32 	public:	// Constructors and destructor
       
    33 
       
    34 		/**
       
    35 		 * Constructor
       
    36 		 *
       
    37 		 * @param aPort Local TCP port number for the connection
       
    38 		 */
       
    39 		CTcTcpConnection( TInt aPort );
       
    40 
       
    41 		/// Destructor
       
    42 		~CTcTcpConnection();
       
    43 
       
    44 	private: // Constructors and destructor
       
    45 
       
    46 		/// Default constructor. Not implemented.
       
    47 		CTcTcpConnection();
       
    48 
       
    49 	protected: // From CTcBaseConnection
       
    50 
       
    51 		void SetupPortL();
       
    52 		
       
    53 		void SetupPort2L();
       
    54 
       
    55 	};
       
    56 
       
    57 #endif // __CTCTCPCONNECTION_H__