oogp2p.chord.nettables
Class FindKeyNettable

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

public class FindKeyNettable
extends ChordNettable

Author:
cmz 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  byte[] keyToFind
           
private  java.net.InetAddress myOriginator
           
 
Fields inherited from class oogp2p.Nettable
myApplication, myReceiver, mySender
 
Constructor Summary
FindKeyNettable(java.net.InetAddress sender, java.net.InetAddress receiver, java.net.InetAddress originator, byte[] key)
           
 
Method Summary
 java.lang.Object getContents()
           
 byte[] getKey()
           
 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

myOriginator

private java.net.InetAddress myOriginator

keyToFind

private byte[] keyToFind
Constructor Detail

FindKeyNettable

public FindKeyNettable(java.net.InetAddress sender,
                       java.net.InetAddress receiver,
                       java.net.InetAddress originator,
                       byte[] key)
Method Detail

getContents

public java.lang.Object getContents()
Overrides:
getContents in class ChordNettable

getOriginator

public java.net.InetAddress getOriginator()

getKey

public byte[] getKey()