os/persistentdata/loggingservices/eventlogger/test/tef/teflogengbur/src/logtestsession.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 	}