loggingservices/eventlogger/test/tef/teflogengbur/src/logtestsession.cpp
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     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 // Implementation of test class to send client requests to log engine server
       
    15 // Identical implementation exists in logeng\ongoing\test\src\test.cpp
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalComponent
       
    22 */
       
    23 
       
    24 #include "LogServShared.h"
       
    25 #include "logtestsession.h"
       
    26 
       
    27 TInt RLogTestSession::Connect()
       
    28 //
       
    29 // Connect to the server
       
    30 //
       
    31 	{
       
    32 	return CreateSession(KLogServerFullName,TVersion(0,0,0));
       
    33 	}
       
    34 
       
    35 void RLogTestSession::Send(TInt aType, TIpcArgs& aParam, TRequestStatus& aStatus)
       
    36 	{
       
    37 	SendReceive(aType, aParam, aStatus);
       
    38 	}
       
    39 
       
    40 TInt RLogTestSession::Send(TInt aType, TIpcArgs&  aParam)
       
    41 	{
       
    42 	return SendReceive(aType, aParam);
       
    43 	}