1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.jdi.event; |
26 package com.sun.jdi.event; |
27 |
27 |
28 import com.sun.jdi.*; |
28 import com.sun.jdi.VirtualMachine; |
|
29 import com.sun.jdi.request.EventRequest; |
29 |
30 |
30 /** |
31 /** |
31 * Notification of disconnection from target VM. |
32 * Notification of disconnection from target VM. |
32 * May be caused by normal termination of a VM, |
33 * May be caused by normal termination of a VM, |
33 * VM termination by uncaught exception or other error, |
34 * VM termination by uncaught exception or other error, |
34 * debugger action ( |
35 * debugger action ({@link VirtualMachine#dispose} or |
35 * {@link VirtualMachine#dispose} or |
|
36 * {@link VirtualMachine#exit}) or by external events |
36 * {@link VirtualMachine#exit}) or by external events |
37 * (for example, target process termination by the |
37 * (for example, target process termination by the |
38 * operating system, transport termination, etc). |
38 * operating system, transport termination, etc). |
39 * <p> |
39 * <p> |
40 * If the target VM terminates before the disconnection, this event |
40 * If the target VM terminates before the disconnection, this event |
41 * will be preceded by a {@link VMDeathEvent}. |
41 * will be preceded by a {@link VMDeathEvent}. |
42 * <p> |
42 * <p> |
43 * This event is always sent. |
43 * This event is always sent. |
44 * There is no corresponding {@link com.sun.jdi.request.EventRequest}. |
44 * There is no corresponding {@link EventRequest}. |
45 * The enclosing singleton {@link EventSet} always has a |
45 * The enclosing singleton {@link EventSet} always has a |
46 * suspend policy of {@link com.sun.jdi.request.EventRequest#SUSPEND_NONE}. |
46 * suspend policy of {@link EventRequest#SUSPEND_NONE}. |
47 * |
47 * |
48 * @see VMDeathEvent |
48 * @see VMDeathEvent |
49 * @see EventQueue |
49 * @see EventQueue |
50 * @see VirtualMachine |
50 * @see VirtualMachine |
51 * |
51 * |