Rice Pastry API

org.mpisws.p2p.transport.peerreview.history
Interface HashProvider

All Known Implementing Classes:
NullHashProvider

public interface HashProvider


Method Summary
 Hash build(byte[] hashBytes, int start, int length)
           
 Hash build(InputBuffer buf)
           
 Hash getEmpty()
           
 int getSerizlizedSize()
           
 Hash hash(java.nio.ByteBuffer... hashMe)
           
 Hash hash(long seq, short type, Hash nodeHash, Hash contentHash)
           
 

Method Detail

hash

Hash hash(long seq,
          short type,
          Hash nodeHash,
          Hash contentHash)

hash

Hash hash(java.nio.ByteBuffer... hashMe)

build

Hash build(InputBuffer buf)

build

Hash build(byte[] hashBytes,
           int start,
           int length)

getSerizlizedSize

int getSerizlizedSize()

getEmpty

Hash getEmpty()

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection