|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectctf.evaluation.simulator.responses.Response
public class Response
A simulator's response to a command or query
| Constructor Summary | |
|---|---|
Response(Connection connection,
java.lang.String pattern)
Constructor (does not check the response against a regex pattern). |
|
Response(Connection connection,
java.lang.String pattern,
java.lang.String name)
Constructor. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
response()
Reconstitute the parsed response |
protected java.lang.String[] |
tokens()
Get the parsed tokens |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Response(Connection connection,
java.lang.String pattern,
java.lang.String name)
throws java.io.IOException,
NetworkException
connection - the connection to receive frompattern - the pattern that the line should conform toname - what we're expecting to receive (human-readable)
java.io.IOException
NetworkException
public Response(Connection connection,
java.lang.String pattern)
throws java.io.IOException,
NetworkException
connection - the connection to receive frompattern - the pattern that the line should conform to
java.io.IOException
NetworkException| Method Detail |
|---|
protected java.lang.String[] tokens()
protected java.lang.String response()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||