public class BlockRoundData extends BaseNulsData
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
consensusMemberCount |
protected int |
packingIndexOfRound |
protected long |
roundIndex |
protected long |
roundStartTime |
| 构造器和说明 |
|---|
BlockRoundData() |
BlockRoundData(byte[] extend) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getConsensusMemberCount() |
int |
getPackingIndexOfRound() |
long |
getRoundEndTime() |
long |
getRoundIndex() |
long |
getRoundStartTime() |
void |
parse(NulsByteBuffer byteBuffer) |
protected void |
serializeToStream(NulsOutputStreamBuffer stream) |
void |
setConsensusMemberCount(int consensusMemberCount) |
void |
setPackingIndexOfRound(int packingIndexOfRound) |
void |
setRoundIndex(long roundIndex) |
void |
setRoundStartTime(long roundStartTime) |
int |
size() |
parse, serializeprotected long roundIndex
protected int consensusMemberCount
protected long roundStartTime
protected int packingIndexOfRound
public long getRoundEndTime()
public int getConsensusMemberCount()
public void setConsensusMemberCount(int consensusMemberCount)
public long getRoundStartTime()
public void setRoundStartTime(long roundStartTime)
public int getPackingIndexOfRound()
public void setPackingIndexOfRound(int packingIndexOfRound)
public long getRoundIndex()
public void setRoundIndex(long roundIndex)
public int size()
protected void serializeToStream(NulsOutputStreamBuffer stream) throws IOException
serializeToStream 在类中 BaseNulsDataIOExceptionpublic void parse(NulsByteBuffer byteBuffer) throws NulsException
parse 在类中 BaseNulsDataNulsExceptionCopyright © 2021. All rights reserved.