1 11 package org.eclipse.jdi.internal.event; 12 13 14 import java.io.DataInputStream ; 15 import java.io.IOException ; 16 17 import org.eclipse.jdi.internal.MirrorImpl; 18 import org.eclipse.jdi.internal.VirtualMachineImpl; 19 import org.eclipse.jdi.internal.request.RequestID; 20 21 import com.sun.jdi.event.StepEvent; 22 23 29 public class StepEventImpl extends LocatableEventImpl implements StepEvent { 30 31 public static final byte EVENT_KIND = EVENT_SINGLE_STEP; 32 33 36 private StepEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) { 37 super("StepEvent", vmImpl, requestID); } 39 40 43 public static StepEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) throws IOException { 44 VirtualMachineImpl vmImpl = target.virtualMachineImpl(); 45 StepEventImpl event = new StepEventImpl(vmImpl, requestID); 46 event.readThreadAndLocation(target, dataInStream); 47 return event; 48 } 49 } 50 | Popular Tags |