oogp2p.search.nettables
Class BreadthSearchNettable

java.lang.Object
  extended byoogp2p.Nettable
      extended byoogp2p.search.nettables.SearchNettable
          extended byoogp2p.search.nettables.BreadthSearchNettable
All Implemented Interfaces:
java.io.Serializable

public class BreadthSearchNettable
extends SearchNettable

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

Field Summary
(package private)  int myNumHops
           
(package private)  java.lang.String mySearchKey
           
(package private)  java.net.InetAddress mySearchOriginator
           
 
Fields inherited from class oogp2p.Nettable
myApplication, myReceiver, mySender
 
Constructor Summary
BreadthSearchNettable(java.lang.String searchKey, int numHops, java.net.InetAddress sender, java.net.InetAddress receiver, java.net.InetAddress so)
           
 
Method Summary
 java.lang.Object getContents()
           
 int getHops()
           
 java.net.InetAddress getOriginator()
           
 
Methods inherited from class oogp2p.Nettable
getApplicationName, getReceiver, getSender, setReceiver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myNumHops

int myNumHops

mySearchKey

java.lang.String mySearchKey

mySearchOriginator

java.net.InetAddress mySearchOriginator
Constructor Detail

BreadthSearchNettable

public BreadthSearchNettable(java.lang.String searchKey,
                             int numHops,
                             java.net.InetAddress sender,
                             java.net.InetAddress receiver,
                             java.net.InetAddress so)
Method Detail

getContents

public java.lang.Object getContents()
Overrides:
getContents in class SearchNettable
See Also:
Nettable.getContents()

getHops

public int getHops()

getOriginator

public java.net.InetAddress getOriginator()