commsprocess/commsrootserverconfig/te_cap_rootserver/RSBind1_CStep.h
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // cstep.h
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 #ifndef __RSBind1_H_
       
    20 #define __RSBind1_H_
       
    21 
       
    22 //Include the suite header
       
    23 #include "CSuite.h"
       
    24 
       
    25 
       
    26 
       
    27 class CRSBind1Step: public CCapabilityTestStep
       
    28 	{
       
    29 public:
       
    30 
       
    31 	//Get the version of the server to be called
       
    32 	TVersion Version()
       
    33 		{
       
    34 		return TVersion(RootServer::KRS32MajorVersionNumber, RootServer::KRS32MinorVersionNumber, RootServer::KRS32BuildVersionNumber);
       
    35 		}	
       
    36 	
       
    37 	//Constructor called from the respective Suite.cpp from their "AddTestStep" function
       
    38 	CRSBind1Step();
       
    39 
       
    40 	//Always clean your mess
       
    41 	~CRSBind1Step()
       
    42 		{
       
    43 		tChildThread.Close();
       
    44 		}
       
    45 	
       
    46 	//This is the Function called from "doTestStepL" by the test Suite,and it creates an 
       
    47 	//child thread which internally calls the corresponding Exec_SendReceive_SERVERNAME fn.
       
    48 	TVerdict MainThread();
       
    49 
       
    50 	//Here's where the connection and testing the message takes place
       
    51 	TInt Exec_SendReceive();
       
    52 	};
       
    53 
       
    54 #endif // __RSBind1_H_
       
    55