org.apache.tools.ant.taskdefs.optional.net
public class RExecTask.AntRExecClient extends RExecClient
Method Summary | |
---|---|
void | sendString(String s, boolean echoString)
Write this string to the rexec session. |
void | waitForEOF(Integer timeout)
Read from the rexec session until the EOF is found or
the timeout has been reached |
void | waitForString(String s)
Read from the rexec session until the string we are
waiting for is found |
void | waitForString(String s, Integer timeout)
Read from the rexec session until the string we are
waiting for is found or the timeout has been reached |
Parameters: s the string to write echoString if true log the string sent
Parameters: timeout The maximum number of seconds to wait
Parameters: s The string to wait on
Parameters: s The string to wait on timeout The maximum number of seconds to wait