java.lang.Object
com.fetish.directory.Fada.Explorer
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- Fada
- private class Fada.Explorer
- extends java.lang.Object
- implements java.lang.Runnable
This class starts dedicated threads to extend the search
|
Constructor Summary |
Fada.Explorer(int searchType,
SearchCriteriaInterface crit,
java.lang.String target,
SearchIDInterface search,
int maxHops,
long timeout,
int maxResponses)
|
Fada.Explorer(int searchType,
SearchCriteriaInterface crit,
java.lang.String neighbor,
java.lang.String target,
SearchIDInterface search,
int maxHops,
long timeout,
int maxResponses)
|
|
Method Summary |
void |
run()
This method will be called by whoever wishes to run your class
implementing Runnable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
crit
private SearchCriteriaInterface crit
target
private java.lang.String target
neighbor
private java.lang.String neighbor
search
private SearchIDInterface search
id
private int id
maxHops
private int maxHops
timeout
private long timeout
maxResponses
private int maxResponses
searchType
private int searchType
Fada.Explorer
public Fada.Explorer(int searchType,
SearchCriteriaInterface crit,
java.lang.String target,
SearchIDInterface search,
int maxHops,
long timeout,
int maxResponses)
Fada.Explorer
public Fada.Explorer(int searchType,
SearchCriteriaInterface crit,
java.lang.String neighbor,
java.lang.String target,
SearchIDInterface search,
int maxHops,
long timeout,
int maxResponses)
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface java.lang.Runnable