W3cubDocs

/OpenJDK 21

Package com.sun.jdi.connect

package com.sun.jdi.connect
This package defines connections between the virtual machine using the JDI and the target virtual machine. In concert with VirtualMachineManager it is the mechanism for launching, attaching, etc to target virtual machines.

Methods may be added to the interfaces in the JDI packages in future releases. Existing packages may be renamed if the JDI becomes a standard extension.

Class Description
AttachingConnector
A connector which attaches to a previously running target VM.
Connector
A method of connection between a debugger and a target VM.
Connector.Argument
Specification for and value of a Connector argument.
Connector.BooleanArgument
Specification for and value of a Connector argument, whose value is Boolean.
Connector.IntegerArgument
Specification for and value of a Connector argument, whose value is an integer.
Connector.SelectedArgument
Specification for and value of a Connector argument, whose value is a String selected from a list of choices.
Connector.StringArgument
Specification for and value of a Connector argument, whose value is a String.
IllegalConnectorArgumentsException
Thrown to indicate an invalid argument or inconsistent passed to a Connector.
LaunchingConnector
A connector which can launch a target VM before connecting to it.
ListeningConnector
A connector which listens for a connection initiated by a target VM.
Transport
A method of communication between a debugger and a target VM.
TransportTimeoutException
This exception may be thrown as a result of a timeout when attaching to a target VM, or waiting to accept a connection from a target VM.
VMStartException
A target VM was successfully launched, but terminated with an error before a connection could be established.

© 1993, 2023, 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/21/docs/api/jdk.jdi/com/sun/jdi/connect/package-summary.html