public interface CommandLifecycle
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
This method is called by the SSH server to destroy the command because
the client has disconnected somehow.
|
void |
start(Environment env)
Starts the command execution.
|
void start(Environment env) throws IOException
Runnable,
and this method should spawn a new thread like:
Thread(this).start();
env - The EnvironmentIOException - If failed to startCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.