commsfwtools/commstools/messageinterceptregister/inc/msginterceptclient.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Sat, 20 Feb 2010 00:01:55 +0200
branchRCL_3
changeset 9 77effd21b2c9
parent 0 dfb7c4ff071f
permissions -rw-r--r--
Revision: 201007 Kit: 201007

// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

/**
 @file 
 @internalTechnology
*/

#ifndef __ELEMENTS_MSGINTERCEPTCLIENT_H__
#define __ELEMENTS_MSGINTERCEPTCLIENT_H__

#include <elements/nm_signatures.h>
#include <elements/sd_apiextensionclient.h>

class RMessageInterceptor : public Den::RApiExtSessionBase
	{
public:
	IMPORT_C void Close();

protected:
	RBuf8 iReqAndRespEventBuf;
	};

class RMessageInterceptorFM : public RMessageInterceptor
	{
public:
	IMPORT_C TInt Open(Den::RExtendableSessionBase& aExtendableInterface);
	IMPORT_C TInt EnableFallibleMode(TInt aCount);
	IMPORT_C void ConfigureFallibleMessagesL(RArray<Messages::TNodeSignal::TMessageId>& aArray/*, TAction& aAction = TDefaultAction*/);
	IMPORT_C TBool CheckFinished();
	};

class RMessageInterceptorPM : public RMessageInterceptor
	{
public:
	IMPORT_C TInt Open(Den::RExtendableSessionBase& aExtendableInterface);

	// pattern control
	//IMPORT_C TInt Enable();
	//IMPORT_C void Disable();
	};

#endif // __ELEMENTS_MSGINTERCEPTCLIENT_H__