Connector (Java SE 19 & JDK 19) (original) (raw)

All Known Subinterfaces:

[AttachingConnector](AttachingConnector.html "interface in com.sun.jdi.connect"), [LaunchingConnector](LaunchingConnector.html "interface in com.sun.jdi.connect"), [ListeningConnector](ListeningConnector.html "interface in com.sun.jdi.connect")


public interface Connector

A method of connection between a debugger and a target VM. A connector encapsulates exactly one Transport. used to establish the connection. Each connector has a set of arguments which controls its operation. The arguments are stored as a map, keyed by a string. Each implementation defines the string argument keys it accepts.

Since:

1.3

See Also:

Nested Classes
static interface
Specification for and value of a Connector argument.
static interface
Specification for and value of a Connector argument, whose value is Boolean.
static interface
Specification for and value of a Connector argument, whose value is an integer.
static interface
Specification for and value of a Connector argument, whose value is a String selected from a list of choices.
static interface
Specification for and value of a Connector argument, whose value is a String.

Returns the arguments accepted by this Connector and their default values.
Returns a human-readable description of this connector and its purpose.
[name](#name%28%29)()
Returns a short identifier for the connector.
[transport](#transport%28%29)()
Returns the transport mechanism used by this connector to establish connections with a target VM.