Commit | Line | Data |
---|---|---|
8c8bf09f | 1 | /******************************************************************************* |
e31e01e8 | 2 | * Copyright (c) 2009, 2010 Ericsson |
8c8bf09f ASL |
3 | * |
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 | |
8 | * | |
9 | * Contributors: | |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
6c13869b | 13 | package org.eclipse.linuxtools.tmf.core.component; |
8c8bf09f | 14 | |
6c13869b | 15 | import org.eclipse.linuxtools.tmf.core.signal.TmfSignal; |
8d2e2848 | 16 | |
8c8bf09f ASL |
17 | /** |
18 | * <b><u>ITmfComponent</u></b> | |
19 | * <p> | |
e31e01e8 FC |
20 | * This is the basic interface of all the TMF components. |
21 | * <p> | |
22 | * Currently, it only addresses the inter-component signaling. | |
8c8bf09f ASL |
23 | */ |
24 | public interface ITmfComponent { | |
be9d96b7 | 25 | |
fc6ccf6f FC |
26 | /** |
27 | * Get the component ID | |
28 | */ | |
29 | public String getName(); | |
30 | ||
e31e01e8 | 31 | /** |
2fb2eb37 | 32 | * Dispose of the component |
e31e01e8 | 33 | */ |
2fb2eb37 | 34 | public void dispose(); |
e31e01e8 FC |
35 | |
36 | /** | |
37 | * Broadcast a signal to all the interested listeners. | |
38 | * | |
39 | * @param signal | |
40 | */ | |
41 | public void broadcast(TmfSignal signal); | |
8d2e2848 | 42 | |
8c8bf09f | 43 | } |