org.apache.tools.ant.taskdefs.optional.ssh
public abstract class AbstractSshMessage extends Object
Constructor Summary | |
---|---|
AbstractSshMessage(Session session) | |
AbstractSshMessage(boolean verbose, Session session) |
Method Summary | |
---|---|
abstract void | execute() |
protected boolean | getVerbose() |
protected void | log(String message) |
protected void | logStats(long timeStarted, long timeEnded, int totalLength) |
protected Channel | openExecChannel(String command) |
protected void | sendAck(OutputStream out) |
void | setLogListener(LogListener aListener) |
protected int | trackProgress(int filesize, int totalLength, int percentTransmitted) |
protected void | waitForAck(InputStream in)
Reads the response, throws a BuildException if the response
indicates an error. |
Since: Ant 1.6.2
Since: Ant 1.6.2