org.apache.tools.ant.taskdefs.optional.net

Class TelnetTask.TelnetWrite

Enclosing Class:
TelnetTask

public class TelnetTask.TelnetWrite
extends TelnetTask.TelnetSubTask

Sends text to the connected server

Field Summary

Fields inherited from class org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetSubTask

taskString

Method Summary

void
execute(TelnetTask.AntTelnetClient telnet)
void
setEcho(boolean b)
Whether or not the message should be echoed to the log.

Methods inherited from class org.apache.tools.ant.taskdefs.optional.net.TelnetTask.TelnetSubTask

addText, execute, setString

Method Details

execute

public void execute(TelnetTask.AntTelnetClient telnet)
            throws BuildException
Overrides:
execute in interface TelnetTask.TelnetSubTask

setEcho

public void setEcho(boolean b)
Whether or not the message should be echoed to the log. Defaults to true.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.