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.AccessWatchpointEvent; 22 23 29 public class AccessWatchpointEventImpl extends WatchpointEventImpl implements AccessWatchpointEvent { 30 31 public static final byte EVENT_KIND = EVENT_FIELD_ACCESS; 32 33 36 protected AccessWatchpointEventImpl(VirtualMachineImpl vmImpl, RequestID requestID) { 37 super("AccessWatchpointEvent", vmImpl, requestID); } 39 40 43 public static WatchpointEventImpl read(MirrorImpl target, RequestID requestID, DataInputStream dataInStream) throws IOException { 44 VirtualMachineImpl vmImpl = target.virtualMachineImpl(); 45 AccessWatchpointEventImpl event = new AccessWatchpointEventImpl(vmImpl, requestID); 46 event.readWatchpointEventFields(target, dataInStream); 47 return event; 48 } 49 } 50 | Popular Tags |