public class SocketListenConnector extends java.lang.Object implements IVMConnector
SocketListenConnectorProcess| Constructor and Description |
|---|
SocketListenConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
abort(java.lang.String message,
java.lang.Throwable exception,
int code)
Throws a core exception with an error status object built from
the given message, lower level exception, and error code.
|
void |
connect(java.util.Map<java.lang.String,java.lang.String> arguments,
IProgressMonitor monitor,
ILaunch launch)
Establishes a JDI connection with a debuggable VM using the arguments
specified in the given map, contributing results (debug targets and processes),
to the given launch.
|
java.util.List<java.lang.String> |
getArgumentOrder()
Returns a list of argument names found in this connector's
default argument map, defining the order in which arguments
should be presented to the user.
|
java.util.Map<java.lang.String,Connector.Argument> |
getDefaultArguments()
Returns a map of default arguments used by this connector.
|
java.lang.String |
getIdentifier()
Returns a unique identifier for this kind of connector.
|
protected static ListeningConnector |
getListeningConnector()
Return the socket transport listening connector
|
java.lang.String |
getName()
Returns the name of this connector.
|
protected static ListeningConnector getListeningConnector()
throws CoreException
ListeningConnectorCoreException - if unable to locate the connectorpublic java.lang.String getIdentifier()
IVMConnectorgetIdentifier in interface IVMConnectorpublic java.lang.String getName()
IVMConnectorgetName in interface IVMConnectorpublic void connect(java.util.Map<java.lang.String,java.lang.String> arguments,
IProgressMonitor monitor,
ILaunch launch)
throws CoreException
IVMConnectorconnect in interface IVMConnectorarguments - Argument map to use in establishing a connection. The keys of
the map are strings corresponding to the names of arguments returned by this
connector's getDefaultAgruments() method. The values of the map
are strings corresponding to the (String) values of the associated
com.sun.jdi.connect.Connector.Arguments to use.monitor - progress monitorlaunch - launch to contribute debug target(s) and/or process(es) toCoreException - if unable to establish a connection with the target VMpublic java.util.Map<java.lang.String,Connector.Argument> getDefaultArguments()
throws CoreException
IVMConnectorcom.sun.jdi.connect.Connector.Argument.getDefaultArguments in interface IVMConnectorCoreException - if unable to retrieve a default argument mappublic java.util.List<java.lang.String> getArgumentOrder()
IVMConnectorgetArgumentOrder in interface IVMConnectorprotected static void abort(java.lang.String message,
java.lang.Throwable exception,
int code)
throws CoreException
message - the status messageexception - lower level exception associated with the
error, or null if nonecode - error codeCoreException - if an error occurs