Interface VMDisconnectEvent

All Superinterfaces:
Event, Mirror
public interface VMDisconnectEvent extends Event
Notification of disconnection from target VM. May be caused by normal termination of a VM, VM termination by uncaught exception or other error, debugger action (VirtualMachine.dispose() or VirtualMachine.exit(int)) or by external events (for example, target process termination by the operating system, transport termination, etc).

If the target VM terminates before the disconnection, this event will be preceded by a VMDeathEvent.

This event is always sent. There is no corresponding EventRequest. The enclosing singleton EventSet always has a suspend policy of EventRequest.SUSPEND_NONE.

Since:
1.3
See Also:

Method Summary

Methods declared in interface com.sun.jdi.event.Event

request

Methods declared in interface com.sun.jdi.Mirror

toString, virtualMachine

© 1993, 2021, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/17/docs/api/jdk.jdi/com/sun/jdi/event/VMDisconnectEvent.html