blob: 3690b9cade063ffd38d7c6fc4acdb15736177eb9 [file] [log] [blame]
package org.eclipse.jdi.internal.request;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import com.sun.jdi.*;
import com.sun.jdi.request.*;
import com.sun.jdi.connect.*;
import com.sun.jdi.event.*;
import org.eclipse.jdi.internal.*;
import org.eclipse.jdi.internal.event.*;
import java.io.*;
/**
* this class implements the corresponding interfaces
* declared by the JDI specification. See the com.sun.jdi package
* for more information.
*
*/
public class StepRequestImpl extends EventRequestImpl implements StepRequest {
/**
* Creates new StepRequest.
*/
public StepRequestImpl(VirtualMachineImpl vmImpl) {
super("StepRequest", vmImpl);
}
/**
* Creates new StepRequest, used by subclasses.
*/
protected StepRequestImpl(String description, VirtualMachineImpl vmImpl) {
super(description, vmImpl);
}
/**
* @return Returns the relative call stack limit.
*/
public int depth() {
return fThreadStepDepth;
}
/**
* @return Returns the size of each step.
*/
public int size() {
return fThreadStepSize;
}
/**
* @return Returns ThreadReference of thread in which to step.
*/
public ThreadReference thread() {
return fThreadStepFilter;
}
/**
* @return Returns JDWP EventKind.
*/
protected final byte eventKind() {
return StepEventImpl.EVENT_KIND;
}
}