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