oogp2p.search.IRs
Class BreadthSearchIR

java.lang.Object
  extended byoogp2p.InfoReceived
      extended byoogp2p.search.IRs.SearchInfoReceived
          extended byoogp2p.search.IRs.BreadthSearchIR

public class BreadthSearchIR
extends SearchInfoReceived

Author:
dtg To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
private  int myNumHops
           
private  java.net.InetAddress myOriginator
           
private  java.lang.String mySearchString
           
 
Fields inherited from class oogp2p.InfoReceived
myNettableReceiver, myNettableSender
 
Constructor Summary
BreadthSearchIR()
           
BreadthSearchIR(BreadthSearchNettable n)
           
 
Method Summary
 void execute()
           
 boolean isType(Nettable n)
           
 InfoReceived makeType(Nettable n)
           
 void setNumHops(int num)
           
 void setSearchString(java.lang.String search)
           
 
Methods inherited from class oogp2p.InfoReceived
getNettableReceiver, getNettableSender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mySearchString

private java.lang.String mySearchString

myNumHops

private int myNumHops

myOriginator

private java.net.InetAddress myOriginator
Constructor Detail

BreadthSearchIR

public BreadthSearchIR()

BreadthSearchIR

public BreadthSearchIR(BreadthSearchNettable n)
Method Detail

isType

public boolean isType(Nettable n)
Specified by:
isType in class SearchInfoReceived

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 SearchInfoReceived

execute

public void execute()
Specified by:
execute in class SearchInfoReceived