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 | ||
13 | package org.eclipse.linuxtools.tmf.request; | |
14 | ||
15 | import org.eclipse.linuxtools.tmf.event.TmfEvent; | |
16 | import org.eclipse.linuxtools.tmf.event.TmfTimeRange; | |
17 | ||
18 | /** | |
19 | * <b><u>TmfEventRequestStub</u></b> | |
20 | * <p> | |
21 | * TODO: Implement me. Please. | |
22 | */ | |
23 | public class TmfEventRequestStub<T extends TmfEvent> extends TmfEventRequest<T> { | |
24 | ||
25 | /** | |
26 | * @param range | |
27 | */ | |
28 | public TmfEventRequestStub(Class<T> dataType) { | |
2fb2eb37 | 29 | super(dataType); |
d18dd09b ASL |
30 | } |
31 | ||
32 | /** | |
33 | * @param range | |
34 | */ | |
35 | public TmfEventRequestStub(Class<T> dataType, TmfTimeRange range) { | |
2fb2eb37 | 36 | super(dataType, range); |
d18dd09b ASL |
37 | } |
38 | ||
39 | /** | |
40 | * @param range | |
41 | * @param nbRequested | |
42 | */ | |
43 | public TmfEventRequestStub(Class<T> dataType, TmfTimeRange range, int nbRequested) { | |
2fb2eb37 | 44 | super(dataType, range, nbRequested); |
d18dd09b ASL |
45 | } |
46 | ||
47 | /** | |
48 | * @param range | |
49 | * @param nbRequested | |
50 | * @param blockSize Size of the largest blocks expected | |
51 | */ | |
52 | public TmfEventRequestStub(Class<T> dataType, TmfTimeRange range, int nbRequested, int blockSize) { | |
53 | super(dataType, range, nbRequested, blockSize); | |
54 | } | |
55 | ||
56 | @Override | |
f9673903 FC |
57 | public void handleData(T data) { |
58 | super.handleData(data); | |
d18dd09b ASL |
59 | } |
60 | } |