org.mpisws.p2p.transport.peerreview.history.stub
Class NullHashProvider
java.lang.Object
org.mpisws.p2p.transport.peerreview.history.stub.NullHashProvider
- All Implemented Interfaces:
- HashProvider
public class NullHashProvider
- extends java.lang.Object
- implements HashProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_HASH
public static final byte[] EMPTY_HASH
NullHashProvider
public NullHashProvider()
hash
public byte[] hash(long seq,
short type,
byte[] nodeHash,
byte[] contentHash)
- Specified by:
hash
in interface HashProvider
hash
public byte[] hash(java.nio.ByteBuffer... hashMe)
- Specified by:
hash
in interface HashProvider
build
public byte[] build(InputBuffer buf)
getEmptyHash
public byte[] getEmptyHash()
- Specified by:
getEmptyHash
in interface HashProvider
getHashSizeBytes
public short getHashSizeBytes()
- Specified by:
getHashSizeBytes
in interface HashProvider
build
public byte[] build(byte[] hashBytes,
int start,
int length)
Copyright © 2001-2005 - Rice Pastry.