Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant.taskdefs.optional.net
Class TelnetTask.AntTelnetClient

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

Enclosing class:
  TelnetTask

public class TelnetTask.AntTelnetClient

This class handles the abstraction of the telnet protocol. Currently it is a wrapper around ORO's NetComponents

Constructor Summary
`TelnetTask.AntTelnetClient()`

Method Summary
`void` | `sendString(java.lang.String s, boolean echoString)` Write this string to the telnet session.
`void` | `waitForString(java.lang.String s)` Read from the telnet session until the string we are waiting for is found
`void` | `waitForString(java.lang.String s, java.lang.Integer timeout)` Read from the telnet session until the string we are waiting for is found or the timeout has been reached

Constructor Detail

### TelnetTask.AntTelnetClient

    public TelnetTask.AntTelnetClient()

Method Detail

### waitForString

    public void waitForString(java.lang.String s)

  Read from the telnet session until the string we are waiting for is found

### waitForString

    public void waitForString(java.lang.String s,
                              java.lang.Integer timeout)

  Read from the telnet session until the string we are waiting for is found or the timeout has been reached

### sendString

    public void sendString(java.lang.String s,
                           boolean echoString)

  Write this string to the telnet session.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000 Apache Software Foundation. All Rights Reserved.