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 | ||
13 | package org.eclipse.linuxtools.tmf.component; | |
14 | ||
8d2e2848 FC |
15 | import org.eclipse.linuxtools.tmf.signal.TmfSignal; |
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 | |
e31e01e8 FC |
26 | /** |
27 | * Register to the signal manager | |
28 | */ | |
29 | public void register(); | |
30 | ||
31 | /** | |
32 | * De-register from the signal manager | |
33 | */ | |
34 | public void deregister(); | |
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 | } |