|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oroinc.net.SocketClient | +--com.oroinc.net.telnet.Telnet | +--com.oroinc.net.telnet.TelnetClient | +--org.apache.tools.ant.taskdefs.optional.net.TelnetTask.AntTelnetClient
This class handles the abstraction of the telnet protocol. Currently it is a wrapper around ORO's NetComponents
Fields inherited from class com.oroinc.net.SocketClient |
_defaultPort_, _input_, _isConnected_, _output_, _socket_, _socketFactory_, _timeout_, NETASCII_EOL |
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 |
Methods inherited from class com.oroinc.net.telnet.TelnetClient |
_connectAction_, disconnect, getInputStream, getOutputStream |
Methods inherited from class com.oroinc.net.SocketClient |
connect, connect, connect, connect, connect, connect, getDefaultPort, getDefaultTimeout, getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort, getSoLinger, getSoTimeout, getTcpNoDelay, isConnected, setDefaultPort, setDefaultTimeout, setSocketFactory, setSoLinger, setSoTimeout, setTcpNoDelay, verifyRemote |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TelnetTask.AntTelnetClient()
Method Detail |
public void waitForString(java.lang.String s)
public void waitForString(java.lang.String s, java.lang.Integer timeout)
public void sendString(java.lang.String s, boolean echoString)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |