APIdia Launch Partner
Top Description Methods
com.sun.jdi.event

public Interface Event

extends Mirror
Known Direct Subinterfaces
com.sun.jdi.event.LocatableEvent, com.sun.jdi.event.ThreadDeathEvent, com.sun.jdi.event.ThreadStartEvent, com.sun.jdi.event.VMDeathEvent, com.sun.jdi.event.VMDisconnectEvent, com.sun.jdi.event.VMStartEvent, com.sun.jdi.event.ClassPrepareEvent, com.sun.jdi.event.ClassUnloadEvent
Known Direct Implementers
com.sun.tools.jdi.EventSetImpl.EventImpl
Imports
com.sun.jdi.Mirror, .VirtualMachine, com.sun.jdi.request.EventRequest

An occurrence in a target VM that is of interest to a debugger. Event is the common superinterface for all events (examples include BreakpointEvent, ExceptionEvent, ClassPrepareEvent). When an event occurs, an instance of Event as a component of an EventSet is enqueued in the VirtualMachine's EventQueue.
Author
Robert Field
Since
1.3
See Also
EventSet, EventQueue

Method Summary

Modifier and TypeMethod and Description
public EventRequest
request()

Returns: The EventRequest that requested this event.

Inherited from com.sun.jdi.Mirror:
toStringvirtualMachine

Method Detail

requestback to summary
public EventRequest request()
Returns:EventRequest

The EventRequest that requested this event. Some events (eg. VMDeathEvent) may not have a corresponding request and thus will return null.