public class ProcessClientBuilder extends ClientBuilder
spawn
tool, with no
password authentication. The command line parameters for the spawned process are constructed
from default parameters stored in directory and some specific parameters stored inside a
ClientBuilderParameters
structure. A ProcessBuilderOptions
instance is used
to store specific P2J process configuration.
The syntax used to start the native process is
spawn 0 <secure-port> <server-hostname> <server-alias> <uuid>
.
command, config, remote
Constructor and Description |
---|
ProcessClientBuilder(ClientBuilderParameters config)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addClientOptions()
Mark this P2J process to start in batch mode (add the
client:mode:batch=true
argument to the command). |
protected java.util.List<java.lang.String> |
getSpawnArguments()
Get the spawn arguments.
|
getCommand, initNativeSecureConnection, localStart, remoteStart, removeCommand
public ProcessClientBuilder(ClientBuilderParameters config)
config
- The specific parameters for this client.protected void addClientOptions()
client:mode:batch=true
argument to the command).addClientOptions
in class ClientBuilder
protected java.util.List<java.lang.String> getSpawnArguments()
spawn
tool using the
spawn 0 <secure-port> <server-hostname> <server-alias> <uuid>
syntax.getSpawnArguments
in class ClientBuilder