oogp2p.chord.nettables
Class FoundFingerSuccessorNettable

java.lang.Object
  extended byoogp2p.Nettable
      extended byoogp2p.chord.nettables.ChordNettable
          extended byoogp2p.chord.nettables.FoundFingerSuccessorNettable
All Implemented Interfaces:
java.io.Serializable

public class FoundFingerSuccessorNettable
extends ChordNettable

Author:
sjg 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
private  ChordLocation myFoundSuccessor
           
private  int theFingerPos
           
 
Fields inherited from class oogp2p.Nettable
myApplication, myReceiver, mySender
 
Constructor Summary
FoundFingerSuccessorNettable(java.net.InetAddress sender, java.net.InetAddress receiver, ChordLocation id, int fingerPos)
           
 
Method Summary
 java.lang.Object getContents()
           
 int getFingerPos()
           
 ChordLocation getFoundSuccessor()
           
 
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

myFoundSuccessor

private ChordLocation myFoundSuccessor

theFingerPos

private int theFingerPos
Constructor Detail

FoundFingerSuccessorNettable

public FoundFingerSuccessorNettable(java.net.InetAddress sender,
                                    java.net.InetAddress receiver,
                                    ChordLocation id,
                                    int fingerPos)
Method Detail

getContents

public java.lang.Object getContents()
Overrides:
getContents in class ChordNettable
Returns:
the found successor

getFoundSuccessor

public ChordLocation getFoundSuccessor()

getFingerPos

public int getFingerPos()