| Constructor | Description |
|---|---|
JdiInitiator(int port,
List<String> remoteVMOptions,
String remoteAgent,
boolean isLaunch,
String host,
int timeout) |
Start the remote agent and establish a JDI connection to it.
|
| Modifier and Type | Method | Description |
|---|---|---|
Process |
process() |
Returns the launched process.
|
com.sun.jdi.VirtualMachine |
vm() |
Returns the resulting
VirtualMachine instance. |
public JdiInitiator(int port,
List<String> remoteVMOptions,
String remoteAgent,
boolean isLaunch,
String host,
int timeout)
port - the socket port for (non-JDI) commandsremoteVMOptions - any user requested VM optionsremoteAgent - full class name of remote agent to launchisLaunch - does JDI do the launch? That is, LaunchingConnector,
otherwise we start explicitly and use ListeningConnectorhost - explicit hostname to use, if null use discovered
hostname, applies to listening only (!isLaunch)timeout - the start-up time-out in millisecondspublic com.sun.jdi.VirtualMachine vm()
VirtualMachine instance.public Process process()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1