Uses of Class com.sun.jdi.connect.spi.TransportService.ListenKey (Java Debug Interface )
Date: 2026-03-29

## Uses of Class
com.sun.jdi.connect.spi.TransportService.ListenKey

- Packages that use TransportService.ListenKey
  Package | Description
  --- | ---
  com.sun.jdi.connect.spi | This package comprises the interfaces and classes used to develop new `TransportService` implementations.

- - ### Uses of TransportService.ListenKey in com.sun.jdi.connect.spi

    Methods in com.sun.jdi.connect.spi that return TransportService.ListenKey
    Modifier and Type | Method and Description
    --- | ---
    `abstract TransportService.ListenKey` | TransportService.`startListening()` Listens on an address chosen by the transport service.
    `abstract TransportService.ListenKey` | TransportService.`startListening(String address)` Listens on the specified address for inbound connections.

    Methods in com.sun.jdi.connect.spi with parameters of type TransportService.ListenKey
    Modifier and Type | Method and Description
    --- | ---
    `abstract Connection` | TransportService.`accept(TransportService.ListenKey listenKey, long acceptTimeout, long handshakeTimeout)` Accept a connection from a target VM.
    `abstract void` | TransportService.`stopListening(TransportService.ListenKey listenKey)` Stop listening for inbound connections.

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