public class ListenContractEventRequest extends Request
groupId, hashTypeEnum| 构造器和说明 |
|---|
ListenContractEventRequest() |
ListenContractEventRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId) |
ListenContractEventRequest(Identity id,
EventModelType type) |
ListenContractEventRequest(Identity id,
EventModelType type,
BaseFixedSizeByteArray.Fixed20ByteArray myChainId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
Identity |
getIdentity()
Getter method for property identity.
|
MessageType |
getMessageType()
Gets message type.
|
EventModelType |
getType() |
boolean |
isValid() |
void |
setIdentity(Identity id)
Setter method for property identity.
|
void |
setType(EventModelType type) |
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, setTraceIdsetMessageType, toStringpublic ListenContractEventRequest(Identity id, EventModelType type)
public ListenContractEventRequest(Identity id, EventModelType type, BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public ListenContractEventRequest()
public ListenContractEventRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public MessageType getMessageType()
MessagegetMessageType 在类中 Messagepublic Identity getIdentity()
public void setIdentity(Identity id)
id - value to be assigned to property identitypublic EventModelType getType()
public void setType(EventModelType type)
public byte[] toRlp()
public void fromRlp(RlpList list)
public void toJson(com.alibaba.fastjson.JSONObject jsonObject)
Copyright © 2022. All rights reserved.