1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.tests
.stubs
.request
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfEvent
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.request
.TmfDataRequest
;
21 public class TmfDataRequestStub
extends TmfDataRequest
{
26 * @param dataType the request data type
28 public TmfDataRequestStub(final Class
<?
extends ITmfEvent
> dataType
) {
33 * @param dataType the request data type
34 * @param index the initial event index
36 public TmfDataRequestStub(final Class
<?
extends ITmfEvent
> dataType
, final int index
) {
37 super(dataType
, index
);
41 * @param dataType the request data type
42 * @param index the initial event index
43 * @param nbRequested the number of events requested
45 public TmfDataRequestStub(final Class
<?
extends ITmfEvent
> dataType
, final int index
, final int nbRequested
) {
46 super(dataType
, index
, nbRequested
);
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
55 public TmfDataRequestStub(final Class
<?
extends ITmfEvent
> dataType
, final int index
, final int nbRequested
, final int blockSize
) {
56 super(dataType
, index
, nbRequested
, blockSize
);
60 * @see org.eclipse.linuxtools.tmf.core.request.TmfDataRequest#handleData(org.eclipse.linuxtools.tmf.core.event.ITmfEvent)
63 public void handleData(final ITmfEvent data
) {
64 super.handleData(data
);
This page took 0.031261 seconds and 5 git commands to generate.