public class TelnetTask.TelnetRead extends TelnetTask.TelnetSubTask
taskString
Constructor and Description |
---|
TelnetRead() |
Modifier and Type | Method and Description |
---|---|
void |
execute(TelnetTask.AntTelnetClient telnet)
Execute the read task.
|
void |
setDefaultTimeout(java.lang.Integer defaultTimeout)
Sets the default timeout if none has been set already
|
void |
setTimeout(java.lang.Integer i)
a timeout value that overrides any task wide timeout.
|
addText, setString
public void execute(TelnetTask.AntTelnetClient telnet) throws BuildException
execute
in class TelnetTask.TelnetSubTask
telnet
- the task to useBuildException
- on errorpublic void setTimeout(java.lang.Integer i)
i
- an Integer
valuepublic void setDefaultTimeout(java.lang.Integer defaultTimeout)
defaultTimeout
- an Integer
value