/*******************************************************************************
* Copyright (c) 2015 ARM Ltd. and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ARM Ltd and ARM Germany GmbH - Initial API and implementation
*******************************************************************************/
package com.arm.cmsis.pack.events;
import com.arm.cmsis.pack.generic.IGenericListenerList;
/**
* Interface that provides communication way from RTE model to clients (e.g. GUI).
* <br>
* The implementation is responsible for translating RTE model notifications into events and deliver them to clients.
* <br>
* RTE model itself can register only one proxy that in turn should maintain its own listener list, or use other methods
* to delivering the events to clients.
*/
public interface IRteEventProxy extends IGenericListenerList<IRteEventListener, RteEvent>, IRteEventListener {
/**
* Creates RteEnevnt and notifies listeners
* @param topic event topic
* @param data event data
*/
void emitRteEvent(final String topic, Object data);
}