@FunctionalInterface
public interface ExitCallback
Modifier and Type | Method and Description |
---|---|
default void |
onExit(int exitValue)
Informs the SSH server that the shell has exited
|
void |
onExit(int exitValue,
java.lang.String exitMessage)
Informs the SSH client/server that the shell has exited
|
default void onExit(int exitValue)
exitValue
- the exit valuevoid onExit(int exitValue, java.lang.String exitMessage)
exitValue
- the exit valueexitMessage
- exit value description