Commit | Line | Data |
---|---|---|
5d10d135 ASL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2010 Ericsson | |
0c32e4c5 | 3 | * |
5d10d135 ASL |
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 | |
0c32e4c5 | 8 | * |
5d10d135 ASL |
9 | * Contributors: |
10 | * Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation | |
860cadcf | 11 | * Michel Dagenais (michel.dagenais@polymtl.ca) - Reference C implementation, used with permission |
5d10d135 | 12 | *******************************************************************************/ |
5945cec9 | 13 | package org.eclipse.linuxtools.internal.lttng.core.state.evProcessor; |
5d10d135 | 14 | |
5945cec9 | 15 | import org.eclipse.linuxtools.internal.lttng.core.state.model.LttngTraceState; |
0c32e4c5 | 16 | import org.eclipse.linuxtools.tmf.core.event.ITmfEvent; |
5d10d135 ASL |
17 | |
18 | public interface IBaseEventProcessor { | |
19 | ||
20 | /** | |
21 | * Base event handler, either dispatcher or actual handler | |
0c32e4c5 | 22 | * |
5d10d135 ASL |
23 | * @param tmfEvent |
24 | * @param traceSt | |
25 | */ | |
0c32e4c5 | 26 | public abstract void process(ITmfEvent tmfEvent, LttngTraceState traceSt); |
5d10d135 ASL |
27 | |
28 | } |