|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--MicroTAPAS.debug.Debug
Simple class to facilitate sending DebugEvents to DebugServer. The actual sending of the events are done by using a thread, because otherwise the system would hang for as long as the object is trying to connect to the server. Once the connection to the server failes, all subsequent calls to this instance will fail. (i.e. no re-initiation of connetion)
| Constructor Summary | |
Debug(java.lang.String location)
Constructor |
|
Debug(java.lang.String pAddress,
int pPort)
Deprecated. Use Debug(String address) instead, where address is on the form |
|
| Method Summary | |
java.lang.String |
getAddress()
Returns the concatenated address of the debug server |
void |
run()
Implemnts the required run method of the Runnable interface |
boolean |
send(DebugEvent de)
Adds a 'DebugEvent' to the local vector. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Debug(java.lang.String pAddress,
int pPort)
pAddress - The address of the DebugServer.pPort - The port on the DebugServer that is open
for receiving DebugEvents.public Debug(java.lang.String location)
| Method Detail |
public void run()
run in interface java.lang.Runnablepublic boolean send(DebugEvent de)
de - The DebugEvent to be sent to the DebugServer.
public java.lang.String getAddress()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||