public abstract class AbstractCommandTask extends AbstractSessionTask
Constructor and Description |
---|
AbstractCommandTask(Connection<SshClientContext> con,
String command) |
AbstractCommandTask(Connection<SshClientContext> con,
String command,
String charset) |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeExecuteCommand(SessionChannel session) |
protected void |
setupSession(SessionChannel session) |
close, getBufferSize, getInputStream, getOutputStream, isAllocatePseudoTerminal, onCloseSession, onOpenSession, run
public AbstractCommandTask(Connection<SshClientContext> con, String command, String charset)
public AbstractCommandTask(Connection<SshClientContext> con, String command)
protected final void setupSession(SessionChannel session)
setupSession
in class AbstractSessionTask
protected void beforeExecuteCommand(SessionChannel session)
Copyright © 2016. All rights reserved.