|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.knipp.rritoolkit.test.DebugPort
public class DebugPort
This is a helper class for debugging/logging purposes. It is wrapper class that prints the sent requests and returned responses to the console.
Field Summary | |
---|---|
private Port |
port
the actual port |
Constructor Summary | |
---|---|
DebugPort(Port thePort)
constructor |
Method Summary | |
---|---|
Response |
execute(Request request)
"execute" a request, i.e. send it to the registry and wait for the response |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Port port
Constructor Detail |
---|
public DebugPort(Port thePort)
thePort
- the actual portMethod Detail |
---|
public Response execute(Request request) throws java.io.IOException
execute
in interface Port
request
- the request
java.io.IOException
- if either the transmission or the reception failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |