|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectverinec.importer.analysis.AAnalyserStartOperation
public abstract class AAnalyserStartOperation
This class conatains contains the common methods of the starter. Specialy some methods to control the task like start and abort them.
| Field Summary | |
|---|---|
protected AnalysisThread |
analyser
The AnalysisThread which creates a AAnalyserStartOperation |
private AAnalyserTask[] |
threads
An array of the threads which are working for a Starter eg. the SnifferThrads |
| Constructor Summary | |
|---|---|
AAnalyserStartOperation(AnalysisThread analyser,
int parallels)
Initialise the operation starter. |
|
| Method Summary | |
|---|---|
void |
abortOperation()
Tell all thrads to stop their current work. |
AAnalyserTask |
getThread(int i)
Get a AAnalyserTask from the threads-array. |
void |
joinThreads()
Join all threads of the threads-array |
void |
printMessage(String message)
Print a message, eg on the standart output or in the gui. |
void |
setThread(int i,
AAnalyserTask thread)
Set a specified thread. |
void |
startThreads()
Start all threads of the threads-array |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AnalysisThread analyser
private AAnalyserTask[] threads
| Constructor Detail |
|---|
public AAnalyserStartOperation(AnalysisThread analyser,
int parallels)
analyser - The AnalysisThread which holds this AAnalyserStartOperationparallels - The number of parallel threads to prepare.| Method Detail |
|---|
public void setThread(int i,
AAnalyserTask thread)
i - the index in the threads-array, on which the thread should be placed.thread - the AAnalyserTask object which sould be stored.public AAnalyserTask getThread(int i)
i - The specified identifier of the AAnalyserTask.
public void startThreads()
public void joinThreads()
public void abortOperation()
abortOperation in interface IOperationpublic void printMessage(String message)
message - The message to print.
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||