public class RExecTask.AntRExecClient
extends org.apache.commons.net.bsd.RExecClient
| Constructor and Description | 
|---|
| RExecTask.AntRExecClient() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | sendString(java.lang.String s,
          boolean echoString)Write this string to the rexec session. | 
| void | waitForEOF(java.lang.Integer timeout)Read from the rexec session until the EOF is found or
 the timeout has been reached | 
| void | waitForString(java.lang.String s)Read from the rexec session until the string we are
 waiting for is found | 
| void | waitForString(java.lang.String s,
             java.lang.Integer timeout)Read from the rexec session until the string we are
 waiting for is found or the timeout has been reached | 
disconnect, getErrorStream, getInputStream, getOutputStream, isRemoteVerificationEnabled, rexec, rexec, setRemoteVerificationEnabled_connectAction_, connect, connect, connect, connect, connect, connect, getDefaultPort, getDefaultTimeout, getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort, getSoLinger, getSoTimeout, getTcpNoDelay, isConnected, setDefaultPort, setDefaultTimeout, setSocketFactory, setSoLinger, setSoTimeout, setTcpNoDelay, verifyRemotepublic void waitForString(java.lang.String s)
s - The string to wait onpublic void waitForString(java.lang.String s,
                 java.lang.Integer timeout)
s - The string to wait ontimeout - The maximum number of seconds to waitpublic void sendString(java.lang.String s,
              boolean echoString)
s - the string to writeechoString - if true log the string sentpublic void waitForEOF(java.lang.Integer timeout)
timeout - The maximum number of seconds to wait