PEPieceWriteImplpublic class PEPieceWriteImpl extends Object
Fields Summary |
---|
protected int | blockNumber | protected String | sender | protected byte[] | hash | protected boolean | correct |
Constructors Summary |
---|
public PEPieceWriteImpl(int blockNumber, String sender, byte[] hash, boolean correct)
this.blockNumber = blockNumber;
this.sender = sender;
this.hash = hash;
this.correct = correct;
|
Methods Summary |
---|
public int | getBlockNumber()
return( blockNumber );
| public byte[] | getHash()
return( hash );
| public java.lang.String | getSender()
return( sender );
| public boolean | isCorrect()
return( correct );
|
|