Commit | Line | Data |
---|---|---|
5d10d135 ASL |
1 | package org.eclipse.linuxtools.lttng.state.evProcessor; |
2 | ||
3 | public interface IEventToHandlerResolver { | |
4 | ||
5 | /** | |
6 | * | |
7 | * @return The Event Handler for received event before the State data model | |
8 | * is updated. | |
9 | */ | |
10 | public abstract ILttngEventProcessor getBeforeProcessor(String eventType); | |
11 | ||
12 | /** | |
13 | * | |
14 | * @return The Event Handler for received event after the State data model | |
15 | * is updated. | |
16 | */ | |
17 | public abstract ILttngEventProcessor getAfterProcessor(String eventType); | |
18 | ||
19 | /** | |
20 | * | |
21 | * @return The Event Handler after the complete read request is completed, | |
22 | * needed e.g. to draw the last state | |
23 | */ | |
24 | public abstract ILttngEventProcessor getfinishProcessor(); | |
25 | ||
26 | /** | |
27 | * | |
28 | * @return The Event Handler for received event in charge to update the | |
29 | * state. Only one handler is expected so other factories must not | |
30 | * override this method. | |
31 | */ | |
32 | public abstract ILttngEventProcessor getStateUpdaterProcessor(String eventType); | |
33 | ||
34 | } |