org.mpisws.p2p.transport.peerreview.history
Class IndexEntry
java.lang.Object
org.mpisws.p2p.transport.peerreview.history.IndexEntry
public class IndexEntry
- extends java.lang.Object
Constructor Summary |
IndexEntry(long seq)
|
IndexEntry(long seq,
long index,
short type,
int size,
byte[] contentHash,
byte[] nodeHash)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IndexEntry
public IndexEntry(long seq)
IndexEntry
public IndexEntry(long seq,
long index,
short type,
int size,
byte[] contentHash,
byte[] nodeHash)
serialize
public void serialize(OutputBuffer buf)
throws java.io.IOException
- Throws:
java.io.IOException
getContentHash
public byte[] getContentHash()
getFileIndex
public long getFileIndex()
getNodeHash
public byte[] getNodeHash()
getSeq
public long getSeq()
getSizeInFile
public int getSizeInFile()
getType
public short getType()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isHashed
public boolean isHashed()
Copyright © 2001-2005 - Rice Pastry.