Commit | Line | Data |
---|---|---|
ccc49be1 MK |
1 | /******************************************************************************* |
2 | * Copyright (c) 2016 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials | |
5 | * are made available under the terms of the Eclipse Public License v1.0 | |
6 | * which accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | *******************************************************************************/ | |
9 | ||
10 | package org.eclipse.tracecompass.tmf.core.trace; | |
11 | ||
12 | import org.eclipse.jdt.annotation.NonNull; | |
13 | import org.eclipse.tracecompass.tmf.core.signal.TmfTraceModelSignal; | |
14 | ||
15 | /** | |
16 | * Signal handler for all the {@link TmfTraceModelSignal} handling | |
17 | * | |
18 | * @author Matthew Khouzam | |
19 | * @since 2.0 | |
20 | * | |
21 | */ | |
22 | public interface ITraceContextSignalHandler { | |
23 | ||
24 | /** | |
25 | * Receive a signal and handle it | |
26 | * | |
27 | * @param signal | |
28 | * signal to receive | |
29 | */ | |
30 | default void receive(@NonNull TmfTraceModelSignal signal) { | |
31 | // do nothing | |
32 | } | |
33 | ||
34 | } |