public class ListenTopicsEventRequest extends Request
groupId, hashTypeEnum| 构造器和说明 |
|---|
ListenTopicsEventRequest() |
ListenTopicsEventRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId) |
ListenTopicsEventRequest(List<String> topics,
EventModelType type) |
ListenTopicsEventRequest(List<String> topics,
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.
|
MessageType |
getMessageType()
Gets message type.
|
List<String> |
getTopics()
Getter method for property topics.
|
EventModelType |
getType() |
boolean |
isValid() |
void |
setTopics(List<String> topics)
Setter method for property topics.
|
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 ListenTopicsEventRequest(List<String> topics, EventModelType type)
public ListenTopicsEventRequest()
public ListenTopicsEventRequest(List<String> topics, EventModelType type, BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public ListenTopicsEventRequest(BaseFixedSizeByteArray.Fixed20ByteArray myChainId)
public MessageType getMessageType()
MessagegetMessageType 在类中 Messagepublic List<String> getTopics()
public void setTopics(List<String> topics)
topics - value to be assigned to property topicspublic 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.