-
- All Superinterfaces:
Mirror
- All Known Subinterfaces:
AccessWatchpointEvent
,BreakpointEvent
,ClassPrepareEvent
,ClassUnloadEvent
,ExceptionEvent
,LocatableEvent
,MethodEntryEvent
,MethodExitEvent
,ModificationWatchpointEvent
,MonitorContendedEnteredEvent
,MonitorContendedEnterEvent
,MonitorWaitedEvent
,MonitorWaitEvent
,StepEvent
,ThreadDeathEvent
,ThreadStartEvent
,VMDeathEvent
,VMDisconnectEvent
,VMStartEvent
,WatchpointEvent
public interface Event extends Mirror
An occurrence in a target VM that is of interest to a debugger. Event is the common superinterface for all events (examples includeBreakpointEvent
,ExceptionEvent
,ClassPrepareEvent
). When an event occurs, an instance of Event as a component of anEventSet
is enqueued in theVirtualMachine
'sEventQueue
.- Since:
- 1.3
- See Also:
EventSet
,EventQueue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventRequest
request()
-
Methods declared in interface com.sun.jdi.Mirror
toString, virtualMachine
-
-
-
-
Method Detail
-
request
EventRequest request()
- Returns:
- The
EventRequest
that requested this event. Some events (eg.VMDeathEvent
) may not have a cooresponding request and thus will return null.
-
-