Transport (Java Debug Interface )
Keywords: com.sun.jdi.connect.Transport interface
Date: 2026-04-22

com.sun.jdi.connect

## Interface Transport

-     @Exported
      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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `name()` Returns a short identifier for the transport.

- - ### Method Detail

    - #### name

          String name()

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

Copyright © 1999, 2026, Oracle and/or its affiliates. All rights reserved.