java.lang.Object
hsr.ipm.collecting.Tracer
hsr.ipm.collecting.SwitchTracer
- All Implemented Interfaces:
- java.lang.Runnable
- public class SwitchTracer
- extends Tracer
- implements java.lang.Runnable
These class interacts with the SwitchTracerouteserver
- Version:
- 1.0
| Fields inherited from class hsr.ipm.collecting.Tracer |
|
|
Method Summary |
void |
parseTSResponse()
These Methode parses the response from the SwitchTracerouteserver |
void |
requestTS()
These Methode handels the connection to the SwitchTracerouteserver and sends the request. |
void |
run()
These Methode starts the interaction with the SwitchTracerouteserver |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
response
private java.lang.StringBuffer response
trace
public hsr.ipm.storing.Trace trace
myHandler
hsr.ipm.storing.DatabaseHandler myHandler
errorhandler
private hsr.ipm.alerting.ErrorManager errorhandler
TRACESERVER_URL
private final java.lang.String TRACESERVER_URL
TRACESERVER_PARAM1
private final java.lang.String TRACESERVER_PARAM1
SwitchTracer
public SwitchTracer(hsr.ipm.storing.Trace trace)
- Generates a object of SwitchTracer
requestTS
public void requestTS()
- These Methode handels the connection to the SwitchTracerouteserver and sends the request.
- Overrides:
requestTS in class Tracer
parseTSResponse
public void parseTSResponse()
- These Methode parses the response from the SwitchTracerouteserver
- Overrides:
parseTSResponse in class Tracer
run
public void run()
- These Methode starts the interaction with the SwitchTracerouteserver
- Specified by:
run in interface java.lang.Runnable- Overrides:
run in class Tracer