Commit | Line | Data |
---|---|---|
d18dd09b 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 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
6c13869b | 13 | package org.eclipse.linuxtools.tmf.stubs.request; |
d18dd09b | 14 | |
6c13869b FC |
15 | import org.eclipse.linuxtools.tmf.core.event.TmfEvent; |
16 | import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange; | |
17 | import org.eclipse.linuxtools.tmf.core.request.TmfEventRequest; | |
d18dd09b ASL |
18 | |
19 | /** | |
20 | * <b><u>TmfEventRequestStub</u></b> | |
21 | * <p> | |
22 | * TODO: Implement me. Please. | |
23 | */ | |
24 | public class TmfEventRequestStub<T extends TmfEvent> extends TmfEventRequest<T> { | |
25 | ||
26 | /** | |
0d9a6d76 | 27 | * @param dataType |
d18dd09b ASL |
28 | */ |
29 | public TmfEventRequestStub(Class<T> dataType) { | |
2fb2eb37 | 30 | super(dataType); |
d18dd09b ASL |
31 | } |
32 | ||
33 | /** | |
0d9a6d76 | 34 | * @param dataType |
d18dd09b ASL |
35 | * @param range |
36 | */ | |
37 | public TmfEventRequestStub(Class<T> dataType, TmfTimeRange range) { | |
2fb2eb37 | 38 | super(dataType, range); |
d18dd09b ASL |
39 | } |
40 | ||
41 | /** | |
0d9a6d76 | 42 | * @param dataType |
d18dd09b ASL |
43 | * @param range |
44 | * @param nbRequested | |
45 | */ | |
46 | public TmfEventRequestStub(Class<T> dataType, TmfTimeRange range, int nbRequested) { | |
2fb2eb37 | 47 | super(dataType, range, nbRequested); |
d18dd09b ASL |
48 | } |
49 | ||
50 | /** | |
0d9a6d76 | 51 | * @param dataType |
d18dd09b ASL |
52 | * @param range |
53 | * @param nbRequested | |
0d9a6d76 | 54 | * @param blockSize |
d18dd09b ASL |
55 | */ |
56 | public TmfEventRequestStub(Class<T> dataType, TmfTimeRange range, int nbRequested, int blockSize) { | |
57 | super(dataType, range, nbRequested, blockSize); | |
58 | } | |
59 | ||
0d9a6d76 FC |
60 | /* (non-Javadoc) |
61 | * @see org.eclipse.linuxtools.tmf.core.request.TmfDataRequest#handleData(org.eclipse.linuxtools.tmf.core.event.ITmfEvent) | |
62 | */ | |
d18dd09b | 63 | @Override |
f9673903 FC |
64 | public void handleData(T data) { |
65 | super.handleData(data); | |
d18dd09b ASL |
66 | } |
67 | } |