tmf: Fix regression in event requests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / tests / stubs / request / TmfDataRequestStub.java
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.tests.stubs.request;
14
15 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
16 import org.eclipse.linuxtools.tmf.core.request.TmfDataRequest;
17
18 /**
19 *
20 */
21 public class TmfDataRequestStub extends TmfDataRequest {
22
23 /**
24 * Default constructor
25 *
26 * @param dataType the request data type
27 */
28 public TmfDataRequestStub(final Class<? extends ITmfEvent> dataType) {
29 super(dataType);
30 }
31
32 /**
33 * @param dataType the request data type
34 * @param index the initial event index
35 */
36 public TmfDataRequestStub(final Class<? extends ITmfEvent> dataType, final int index) {
37 super(dataType, index);
38 }
39
40 /**
41 * @param dataType the request data type
42 * @param index the initial event index
43 * @param nbRequested the number of events requested
44 */
45 public TmfDataRequestStub(final Class<? extends ITmfEvent> dataType, final int index, final int nbRequested) {
46 super(dataType, index, nbRequested);
47 }
48
49 /**
50 * @param dataType the request data type
51 * @param index the initial event index
52 * @param nbRequested the number of events requested
53 * @param blockSize the event block size
54 */
55 public TmfDataRequestStub(final Class<? extends ITmfEvent> dataType, final int index, final int nbRequested, final int blockSize) {
56 super(dataType, index, nbRequested, blockSize);
57 }
58
59 /* (non-Javadoc)
60 * @see org.eclipse.linuxtools.tmf.core.request.TmfDataRequest#handleData(org.eclipse.linuxtools.tmf.core.event.ITmfEvent)
61 */
62 @Override
63 public void handleData(final ITmfEvent data) {
64 super.handleData(data);
65 }
66
67 }
This page took 0.032896 seconds and 5 git commands to generate.