| java.lang.Object org.apache.commons.net.telnet.TelnetTestResponder
TelnetTestResponder | public class TelnetTestResponder implements Runnable(Code) | | Simple stream responder.
Waits for strings on an input stream and answers
sending corresponfing strings on an output stream.
The reader runs in a separate thread.
author: Bruno D'Avanzo |
Method Summary | |
public void | run() |
TelnetTestResponder | public TelnetTestResponder(InputStream is, OutputStream os, String inputs, String outputs, long timeout)(Code) | | Constructor.
Starts a new thread for the reader.
Parameters: is - - InputStream on which to read. Parameters: os - - OutputStream on which to answer. Parameters: inputs - - Array of waited for Strings. Parameters: inputs - - Array of answers. |
run | public void run()(Code) | | Runs the responder
|
|
|