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 | ||
4918b8f2 | 13 | package org.eclipse.linuxtools.tmf.tests.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 | 28 | */ |
085d898f FC |
29 | public TmfEventRequestStub(final Class<T> dataType) { |
30 | super(dataType); | |
d18dd09b ASL |
31 | } |
32 | ||
33 | /** | |
0d9a6d76 | 34 | * @param dataType |
d18dd09b ASL |
35 | * @param range |
36 | */ | |
085d898f FC |
37 | public TmfEventRequestStub(final Class<T> dataType, final TmfTimeRange range) { |
38 | super(dataType, range); | |
d18dd09b ASL |
39 | } |
40 | ||
41 | /** | |
0d9a6d76 | 42 | * @param dataType |
d18dd09b ASL |
43 | * @param range |
44 | * @param nbRequested | |
45 | */ | |
085d898f FC |
46 | public TmfEventRequestStub(final Class<T> dataType, final TmfTimeRange range, final int nbRequested) { |
47 | super(dataType, range, nbRequested); | |
d18dd09b | 48 | } |
085d898f | 49 | |
d18dd09b | 50 | /** |
0d9a6d76 | 51 | * @param dataType |
d18dd09b ASL |
52 | * @param range |
53 | * @param nbRequested | |
0d9a6d76 | 54 | * @param blockSize |
d18dd09b | 55 | */ |
085d898f FC |
56 | public TmfEventRequestStub(final Class<T> dataType, final TmfTimeRange range, final int nbRequested, final int blockSize) { |
57 | super(dataType, range, nbRequested, blockSize); | |
d18dd09b ASL |
58 | } |
59 | ||
085d898f FC |
60 | /* (non-Javadoc) |
61 | * @see org.eclipse.linuxtools.tmf.core.request.TmfDataRequest#handleData(org.eclipse.linuxtools.tmf.core.event.ITmfEvent) | |
62 | */ | |
63 | @Override | |
64 | public void handleData(final T data) { | |
65 | super.handleData(data); | |
66 | } | |
d18dd09b | 67 | } |