public class DumpDbRequest extends Request
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DumpDbRequest.DumpDBType |
groupId, hashTypeEnum| 构造器和说明 |
|---|
DumpDbRequest() |
DumpDbRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId) |
DumpDbRequest(DumpDbRequest.DumpDBType dumpType,
String dumpPath,
Identity from) |
DumpDbRequest(DumpDbRequest.DumpDBType dumpType,
String dumpPath,
Identity from,
BaseFixedSizeByteArray.Fixed20ByteArray myChainId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
String |
getDumpPath() |
DumpDbRequest.DumpDBType |
getDumpType() |
Identity |
getFrom() |
byte[] |
getSignature() |
boolean |
isValid() |
void |
setDumpPath(String dumpPath) |
void |
setDumpType(DumpDbRequest.DumpDBType dumpType) |
void |
setFrom(Identity from) |
void |
setSignature(byte[] signature) |
boolean |
sign(SignerBase signer) |
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
getGroupId, getSequenceId, getTraceId, isSetGroupId, setGroupId, setHashTypeEnum, setSequenceId, setTraceIdgetMessageType, setMessageType, toStringpublic DumpDbRequest()
public DumpDbRequest(DumpDbRequest.DumpDBType dumpType, String dumpPath, Identity from)
public DumpDbRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public DumpDbRequest(DumpDbRequest.DumpDBType dumpType, String dumpPath, Identity from, BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public boolean sign(SignerBase signer)
public byte[] toRlp()
public void fromRlp(RlpList list)
public void toJson(com.alibaba.fastjson.JSONObject jsonObject)
public void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
public DumpDbRequest.DumpDBType getDumpType()
public void setDumpType(DumpDbRequest.DumpDBType dumpType)
public String getDumpPath()
public void setDumpPath(String dumpPath)
public Identity getFrom()
public void setFrom(Identity from)
public byte[] getSignature()
public void setSignature(byte[] signature)
Copyright © 2022. All rights reserved.