|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.net.telnet.TelnetTestResponder
public class TelnetTestResponder
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.
| Constructor Summary | |
|---|---|
TelnetTestResponder(InputStream is,
OutputStream os,
String[] inputs,
String[] outputs,
long timeout)
Constructor. |
|
| Method Summary | |
|---|---|
void |
run()
Runs the responder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TelnetTestResponder(InputStream is,
OutputStream os,
String[] inputs,
String[] outputs,
long timeout)
is - - InputStream on which to read.os - - OutputStream on which to answer.inputs - - Array of waited for Strings.inputs - - Array of answers.| Method Detail |
|---|
public void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||