public class MockConsensusResponse extends Response
| 构造器和说明 |
|---|
MockConsensusResponse() |
MockConsensusResponse(ConsensusAlgorithmType type,
List<byte[]> mockResults) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
List<byte[]> |
getMockResults() |
ConsensusAlgorithmType |
getType() |
void |
setMockResults(List<byte[]> mockResults) |
void |
setType(ConsensusAlgorithmType type) |
byte[] |
toRlp()
Encode message to rlp bytes.
|
fromJson, getErrorCode, getExceptionMessage, getGroupId, getSequenceId, getTraceId, isSuccess, setErrorCode, setExceptionMessage, setGroupId, setSequenceId, setTraceId, toJsongetMessageType, setMessageType, toStringpublic MockConsensusResponse()
public MockConsensusResponse(ConsensusAlgorithmType type, List<byte[]> mockResults)
public ConsensusAlgorithmType getType()
public void setType(ConsensusAlgorithmType type)
public List<byte[]> getMockResults()
public void setMockResults(List<byte[]> mockResults)
public byte[] toRlp()
Copyright © 2022. All rights reserved.