import java.util.Vector;
-import org.eclipse.linuxtools.tmf.event.TmfEvent;
+import org.eclipse.linuxtools.lttng.event.LttngEvent;
import org.eclipse.linuxtools.tmf.event.TmfTimeRange;
-import org.eclipse.linuxtools.tmf.request.TmfDataRequest;
+import org.eclipse.linuxtools.tmf.experiment.TmfExperiment;
+import org.eclipse.linuxtools.tmf.request.TmfEventRequest;
import org.eclipse.linuxtools.tmf.signal.TmfSignalManager;
-import org.eclipse.linuxtools.tmf.trace.TmfExperiment;
/**
* This class is an extension of Data Request which includes specific references
* @author alvaro
*
*/
-public class StateDataRequest extends TmfDataRequest<TmfEvent> {
+public class StateDataRequest extends TmfEventRequest<LttngEvent> {
+
// ========================================================================
// Data
// =======================================================================
private long numOfEvents = 0;
private boolean broadcast = false;
private boolean clearDataInd = false;
+
// ========================================================================
// Constructors
// =======================================================================
int maxBlockSize, IStateDataRequestListener listener,
StateManager manager) {
- super(range, nbEvents, maxBlockSize);
+ super(LttngEvent.class, range, nbEvents, maxBlockSize);
//super(0, nbEvents, maxBlockSize);
this.manager = manager;
if (listener != null && !listeners.contains(listener)) {
* @param broadcast
* true: All views, false: only to registered listeners
*/
- public void startRequestInd(TmfExperiment experiment, boolean broadcast,
+ public void startRequestInd(TmfExperiment<LttngEvent> experiment, boolean broadcast,
boolean waitForCompletion) {
if (broadcast) {
// Notify all state views.
public boolean isclearDataInd() {
return clearDataInd;
}
-}
+}
\ No newline at end of file