public class RequestContractProfileRequest extends Request
groupId, hashTypeEnum| 构造器和说明 |
|---|
RequestContractProfileRequest() |
RequestContractProfileRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId) |
RequestContractProfileRequest(boolean enableProfile,
long profileSeconds,
BigInteger profilerThreshold,
BigInteger reportAliveTime) |
RequestContractProfileRequest(boolean enableProfile,
long profileSeconds,
BigInteger profilerThreshold,
BigInteger reportAliveTime,
BaseFixedSizeByteArray.Fixed20ByteArray myChainId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
BigInteger |
getProfilerThreshold() |
long |
getProfileSeconds() |
BigInteger |
getReportAliveTime() |
boolean |
isEnableProfile() |
boolean |
isValid() |
void |
setEnableProfile(boolean enableProfile) |
void |
setProfilerThreshold(BigInteger profilerThreshold) |
void |
setProfileSeconds(long profileSeconds) |
void |
setReportAliveTime(BigInteger reportAliveTime) |
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 RequestContractProfileRequest()
public RequestContractProfileRequest(boolean enableProfile,
long profileSeconds,
BigInteger profilerThreshold,
BigInteger reportAliveTime)
public RequestContractProfileRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public RequestContractProfileRequest(boolean enableProfile,
long profileSeconds,
BigInteger profilerThreshold,
BigInteger reportAliveTime,
BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public boolean isEnableProfile()
public void setEnableProfile(boolean enableProfile)
public long getProfileSeconds()
public void setProfileSeconds(long profileSeconds)
public BigInteger getProfilerThreshold()
public void setProfilerThreshold(BigInteger profilerThreshold)
public BigInteger getReportAliveTime()
public void setReportAliveTime(BigInteger reportAliveTime)
public byte[] toRlp()
public void fromRlp(RlpList list)
public void toJson(com.alibaba.fastjson.JSONObject jsonObject)
Copyright © 2022. All rights reserved.