org.gudy.azureus2.core3.peer.impl
Class PEPieceWriteImpl

java.lang.Object
  extended by org.gudy.azureus2.core3.peer.impl.PEPieceWriteImpl

public class PEPieceWriteImpl
extends Object

Author:
parg

Field Summary
protected  int blockNumber
           
protected  boolean correct
           
protected  byte[] hash
           
protected  String sender
           
 
Constructor Summary
PEPieceWriteImpl(int blockNumber, String sender, byte[] hash, boolean correct)
           
 
Method Summary
 int getBlockNumber()
           
 byte[] getHash()
           
 String getSender()
           
 boolean isCorrect()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockNumber

protected final int blockNumber

sender

protected final String sender

hash

protected final byte[] hash

correct

protected final boolean correct
Constructor Detail

PEPieceWriteImpl

public PEPieceWriteImpl(int blockNumber,
                        String sender,
                        byte[] hash,
                        boolean correct)
Method Detail

getSender

public String getSender()

getBlockNumber

public int getBlockNumber()

getHash

public byte[] getHash()

isCorrect

public boolean isCorrect()