public class LocalExecClient extends Object
Modifier and Type | Field and Description |
---|---|
static InetSocketAddress |
address |
Constructor and Description |
---|
LocalExecClient() |
Modifier and Type | Method and Description |
---|---|
boolean |
connect()
Connect to the Server
|
void |
disconnect()
Disconnect from the server
|
LocalExecResult |
getLocalExecResult() |
static void |
initialize()
Initialize the LocalExec Client context
|
static void |
releaseResources()
To be called when the server is shutting down to release the resources
|
void |
runOneCommand(String command,
long delay,
boolean waitFor,
WaarpFuture futureCompletion)
Run one command with a specific allowed delay for execution.
|
public static InetSocketAddress address
public static void initialize()
public static void releaseResources()
public final LocalExecResult getLocalExecResult()
public final void runOneCommand(String command, long delay, boolean waitFor, WaarpFuture futureCompletion)
command
- delay
- futureCompletion
- public final boolean connect()
public final void disconnect()
Copyright © 2009–2022 Waarp. All rights reserved.