@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,
String exitMessage)
Informs the SSH client/server that the shell has exited
|
default void onExit(int exitValue)
exitValue
- the exit valuevoid onExit(int exitValue, String exitMessage)
exitValue
- the exit valueexitMessage
- exit value descriptionCopyright © 2008–2018 The Apache Software Foundation. All rights reserved.