| Modifier and Type | Method and Description |
|---|---|
| public void | destroy(ChannelSession
The channel)ChannelSession through which the command has been receivedThis method is called by the SSH server to destroy the command because the client has disconnected somehow. |
| public void | start(ChannelSession
The channel, Environment ChannelSession through which the command has been receivedThe env)EnvironmentStarts the command execution. |
| destroy | back to summary |
|---|---|
| public void destroy(ChannelSession channel) throws Exception This method is called by the SSH server to destroy the command because the client has disconnected somehow.
| |
| start | back to summary |
|---|---|
| public void start(ChannelSession channel, Environment env) throws IOException Starts the command execution. All streams must have been set before calling this method. The command
should implement
| |