Implement the new TMF Event Model
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / stubs / request / TmfDataRequestStub.java
CommitLineData
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 13package org.eclipse.linuxtools.tmf.stubs.request;
d18dd09b 14
4c564a2d 15import org.eclipse.linuxtools.tmf.core.event.TmfEvent;
6c13869b 16import org.eclipse.linuxtools.tmf.core.request.TmfDataRequest;
d18dd09b
ASL
17
18/**
19 * <b><u>TmfDataRequestStub</u></b>
20 * <p>
21 * TODO: Implement me. Please.
22 */
4c564a2d 23public class TmfDataRequestStub<T extends TmfEvent> extends TmfDataRequest<T> {
d18dd09b
ASL
24
25 /**
26 * Default constructor
27 */
28 public TmfDataRequestStub(Class<T> dataType) {
2fb2eb37 29 super(dataType);
d18dd09b
ASL
30 }
31
32 /**
33 * @param nbRequested
34 */
35 public TmfDataRequestStub(Class<T> dataType, int index) {
2fb2eb37 36 super(dataType, index);
d18dd09b
ASL
37 }
38
39 /**
40 * @param index
41 * @param nbRequested
42 */
43 public TmfDataRequestStub(Class<T> dataType, int index, int nbRequested) {
2fb2eb37 44 super(dataType, index, nbRequested);
d18dd09b
ASL
45 }
46
47 /**
48 * @param index
49 * @param nbRequested
50 * @param blockSize
51 */
52 public TmfDataRequestStub(Class<T> dataType, int index, int nbRequested, int blockSize) {
53 super(dataType, index, nbRequested, blockSize);
54 }
55
56 @Override
f9673903
FC
57 public void handleData(T data) {
58 super.handleData(data);
d18dd09b
ASL
59 }
60
61}
This page took 0.030987 seconds and 5 git commands to generate.