oogp2p.search.commands
Class BreadthSearchCommand
java.lang.Object
oogp2p.InfoReceived
oogp2p.Command
oogp2p.search.commands.BreadthSearchCommand
- public class BreadthSearchCommand
- extends Command
- Author:
- dtg
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mySearchString
private java.lang.String mySearchString
myNumHops
private int myNumHops
commandName
java.lang.String commandName
BreadthSearchCommand
public BreadthSearchCommand()
BreadthSearchCommand
public BreadthSearchCommand(Nettable n)
isType
public boolean isType(Nettable n)
- Specified by:
isType in class Command
setSearchString
public void setSearchString(java.lang.String search)
setNumHops
public void setNumHops(int num)
makeType
public InfoReceived makeType(Nettable n)
- Specified by:
makeType in class Command
execute
public void execute()
- Specified by:
execute in class Command