Commit | Line | Data |
---|---|---|
5d10d135 ASL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2009, 2010 Ericsson | |
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 | * 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 ASL |
12 | *******************************************************************************/ |
13 | package org.eclipse.linuxtools.lttng.state.evProcessor; | |
14 | ||
15 | import org.eclipse.linuxtools.lttng.event.LttngEvent; | |
16 | import org.eclipse.linuxtools.lttng.state.model.LttngTraceState; | |
17 | ||
18 | /** | |
19 | * @author alvaro | |
20 | * | |
21 | */ | |
22 | public interface ILttngEventProcessor { | |
23 | ||
24 | // ======================================================================== | |
25 | // Abstract methods | |
26 | // ======================================================================= | |
27 | /** | |
28 | * Implementors will either dispatch or determine the handler of the event | |
29 | * provided | |
30 | * | |
31 | * @param trcEvent | |
32 | * @param traceSt | |
33 | * @return | |
34 | */ | |
35 | public abstract boolean process(LttngEvent trcEvent, LttngTraceState traceSt); | |
36 | ||
37 | } |