1 /*******************************************************************************
2 * Copyright (c) 2009, 2014 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Francois Chouinard - Initial API and implementation
11 * Bernd Hufmann - Add interface for broadcasting signals asynchronously
12 *******************************************************************************/
14 package org
.eclipse
.tracecompass
.tmf
.core
.component
;
16 import org
.eclipse
.tracecompass
.tmf
.core
.signal
.TmfSignal
;
19 * This is the basic interface of all the TMF components.
21 * Currently, it only addresses the inter-component signalling.
24 * @author Francois Chouinard
28 public interface ITmfComponent
{
31 * @return the component ID (display name)
36 * Dispose of the component
41 * Propagate a signal to all the interested listeners in
42 * the same thread of execution.
44 * @param signal the signal to broadcast
46 void broadcast(TmfSignal signal
);
49 * Propagate a signal to all the interested listeners
50 * in a separate thread.
52 * @param signal the signal to broadcast
55 void broadcastAsync(TmfSignal signal
);
This page took 0.03163 seconds and 5 git commands to generate.