W3cubDocs

/OpenJDK 21

Interface Transport

public interface Transport
A method of communication between a debugger and a target VM.

A Transport represents the transport mechanism used by a Connector to establish a connection with a target VM. It consists of a name which is obtained by invoking the name() method. Furthermore, a Transport encapsulates a TransportService which is the underlying service used to establish connections and exchange Java Debug Wire Protocol (JDWP) packets with a target VM.

Since:
1.3

Method Summary

Modifier and Type Method Description
String name()
Returns a short identifier for the transport.

Method Details

name

String name()
Returns a short identifier for the transport.
Returns:
the name of this transport.

© 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/Transport.html