org.klomp.snark.dht
Class TokenKey

java.lang.Object
  extended by net.i2p.data.DataStructureImpl
      extended by net.i2p.data.SimpleDataStructure
          extended by net.i2p.crypto.SHA1Hash
              extended by org.klomp.snark.dht.TokenKey
All Implemented Interfaces:
Serializable, DataStructure

 class TokenKey
extends SHA1Hash

Used to index incoming Tokens

Since:
0.9.2
Author:
zzz

Field Summary
 
Fields inherited from class net.i2p.crypto.SHA1Hash
HASH_LENGTH
 
Fields inherited from class net.i2p.data.SimpleDataStructure
_data
 
Constructor Summary
TokenKey(NID nID, InfoHash ih)
           
 
Method Summary
 
Methods inherited from class net.i2p.crypto.SHA1Hash
hashCode, length, readBytes, setData
 
Methods inherited from class net.i2p.data.SimpleDataStructure
calculateHash, equals, fromBase64, fromByteArray, getData, toBase64, toByteArray, toString, writeBytes
 
Methods inherited from class net.i2p.data.DataStructureImpl
read
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TokenKey

public TokenKey(NID nID,
                InfoHash ih)