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