public class LogEntry extends MychainObject
| 构造器和说明 |
|---|
LogEntry() |
LogEntry(Identity from,
Identity to,
List<String> topics,
byte[] logData) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
BloomFilter |
generateBloom() |
Identity |
getFrom()
Gets from.
|
byte[] |
getLogData()
Get log data byte [ ].
|
Identity |
getTo()
Gets to.
|
List<String> |
getTopics()
Gets topics.
|
boolean |
matchTopic(String topic) |
void |
setFrom(Identity from)
Sets from.
|
void |
setLogData(byte[] logData)
Sets log data.
|
void |
setTo(Identity to)
Sets to.
|
void |
setTopics(List<String> topics)
Sets topics.
|
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic boolean matchTopic(String topic)
public Identity getFrom()
public void setFrom(Identity from)
from - the frompublic Identity getTo()
public void setTo(Identity to)
to - the topublic byte[] getLogData()
public void setLogData(byte[] logData)
logData - the log datapublic BloomFilter generateBloom()
public byte[] toRlp()
toRlp 在类中 MychainObjectpublic void fromRlp(RlpList list)
fromRlp 在类中 MychainObjectlist - the rlp bytespublic void toJson(com.alibaba.fastjson.JSONObject jsonObject)
toJson 在类中 MychainObjectjsonObject - the json objectpublic void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
fromJson 在类中 MychainObjectjsonObject - the json objectCopyright © 2022. All rights reserved.