com.sun.jdi.connect
public interface: Connector [javadoc |
source]
All Known Implementing Classes:
ListeningConnector, SharedMemoryListeningConnector, ConnectorImpl, AbstractLauncher, ConnectorImpl, SAPIDAttachingConnector, LaunchingConnector, SocketAttachingConnector, SADebugServerAttachingConnector, GenericAttachingConnector, SunCommandLineLauncher, RawCommandLineLauncher, AttachingConnector, SocketListeningConnector, SACoreAttachingConnector, SharedMemoryAttachingConnector, GenericListeningConnector, ProcessAttachingConnector
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.
Nested Class Summary: |
---|
public interface | Connector.Argument | Specification for and value of a Connector argument.
Will always implement a subinterface of Argument:
{@link Connector.StringArgument}, {@link Connector.BooleanArgument},
{@link Connector.IntegerArgument},
or {@link Connector.SelectedArgument}. |
public interface | Connector.BooleanArgument | Specification for and value of a Connector argument,
whose value is Boolean. Boolean values are represented
by the localized versions of the strings "true" and "false". |
public interface | Connector.IntegerArgument | Specification for and value of a Connector argument,
whose value is an integer. Integer values are represented
by their corresponding strings. |
public interface | Connector.StringArgument | Specification for and value of a Connector argument,
whose value is a String. |
public interface | Connector.SelectedArgument | Specification for and value of a Connector argument,
whose value is a String selected from a list of choices. |
Method from com.sun.jdi.connect.Connector Detail: |
public Map<String, Argument> defaultArguments()
Returns the arguments accepted by this Connector and their
default values. The keys of the returned map are string argument
names. The values are Connector.Argument containing
information about the argument and its default value. |
public String description()
Returns a human-readable description of this connector
and its purpose. |
public String name()
Returns a short identifier for the connector. Connector implementors
should follow similar naming conventions as are used with packages
to avoid name collisions. For example, the Sun connector
implementations have names prefixed with "com.sun.jdi.".
Not intended for exposure to end-user. |
public Transport transport()
Returns the transport mechanism used by this connector to establish
connections with a target VM. |