Constructor | Description |
---|---|
JDIInitiator(int port,
List<String> remoteVMOptions,
String remoteAgent,
boolean isLaunch,
String host) |
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)
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)public com.sun.jdi.VirtualMachine vm()
VirtualMachine
instance.public Process process()
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b139-1