public abstract class ShellTask extends AbstractShellTask<SessionChannelNG>
con| Constructor and Description |
|---|
ShellTask(SshClient ssh) |
ShellTask(SshConnection con) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeStartShell(SessionChannelNG session) |
protected SessionChannelNG |
createSession(SshConnection con) |
protected void |
onCloseSession(SessionChannelNG session) |
setupSessionchangeTerminalDimensions, close, disconnect, doTask, getChannelFuture, getLastError, getSession, isClosed, onOpenSessionrunaddFutureListener, done, isDone, isSuccess, waitFor, waitForeverpublic ShellTask(SshConnection con)
public ShellTask(SshClient ssh)
protected void beforeStartShell(SessionChannelNG session)
beforeStartShell in class AbstractShellTask<SessionChannelNG>protected void onCloseSession(SessionChannelNG session)
onCloseSession in class AbstractSessionTask<SessionChannelNG>protected SessionChannelNG createSession(SshConnection con)
createSession in class AbstractSessionTask<SessionChannelNG>Copyright © 2022. All rights reserved.