|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectverinec.importer.analysis.AAnalyserStartOperation
verinec.importer.analysis.traceroute.StartTraceRoute
public class StartTraceRoute
The StartTraceRoute controls and starts the threads, which do the traceroutes.
The number of synchronous traceroutes is specified in the traceroute dialog. The starter creates the specified number of worker threads, which poll the starter for hosts to do a traceroute to. When there are no more hosts, the threads finish.
TraceWorkerThread| Nested Class Summary | |
|---|---|
private static class |
StartTraceRoute.AlgorithmItem
This class encapsulates some informations of the different traceroute algorithms. |
static class |
StartTraceRoute.ConfigPanel
Configuration for the traceroutes. |
| Field Summary | |
|---|---|
(package private) int |
algorithm
The traceroute algorithm. |
(package private) int |
hops
The nubmer of max Hops for the traceroutes |
private Logger |
logger
The logger for this object |
(package private) int |
timeOut
The timeout for the traceroutes |
private Iterator |
trIterGetElement
The iterator for the host, to which a traceroute should be done |
| Fields inherited from class verinec.importer.analysis.AAnalyserStartOperation |
|---|
analyser |
| Constructor Summary | |
|---|---|
StartTraceRoute(StartTraceRoute.ConfigPanel conf,
AnalysisThread analysis)
The constructor creates n TraceRouteThread and handels the informations form the dialog. |
|
| Method Summary | |
|---|---|
void |
addToResult(Vector hops,
HostCommRenderer target)
Add the result form a traceroute to the result structure in the AnalysisThread |
HostCommRenderer |
getHost(String ip)
Get a certain host form the traceroute result. |
HostCommRenderer |
getNextElement()
Get the next host form the Sniffer result structure. |
void |
traceRoute()
Start all traceroute threads and waits for them to finish. |
void |
updateState()
Update the actual state. |
| Methods inherited from class verinec.importer.analysis.AAnalyserStartOperation |
|---|
abortOperation, getThread, joinThreads, printMessage, setThread, startThreads |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Iterator trIterGetElement
int timeOut
int hops
int algorithm
private Logger logger
| Constructor Detail |
|---|
public StartTraceRoute(StartTraceRoute.ConfigPanel conf,
AnalysisThread analysis)
throws TraceRouteException
conf - the config panel form the importer dialoganalysis - the AnalysisThread which grate this object
TraceRouteException| Method Detail |
|---|
public void traceRoute()
public void addToResult(Vector hops,
HostCommRenderer target)
hops - a vector, which contains the hopstarget - the target host, which were found by the snifferpublic HostCommRenderer getNextElement()
public HostCommRenderer getHost(String ip)
ip - the host ip, which should be found
public void updateState()
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||