public class PushContractEvent extends Message
| 构造器和说明 |
|---|
PushContractEvent() |
PushContractEvent(BigInteger id,
List<Contract> contracts) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
List<Contract> |
getContracts()
Getter method for property contracts.
|
BigInteger |
getId()
Getter method for property id.
|
void |
setContracts(List<Contract> contracts)
Setter method for property contracts.
|
void |
setId(BigInteger id)
Setter method for property id.
|
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
getMessageType, setMessageType, toStringpublic PushContractEvent(BigInteger id, List<Contract> contracts)
public PushContractEvent()
public BigInteger getId()
public void setId(BigInteger id)
id - value to be assigned to property idpublic List<Contract> getContracts()
public void setContracts(List<Contract> contracts)
contracts - value to be assigned to property contractspublic byte[] toRlp()
public void fromRlp(RlpList list)
public void toJson(com.alibaba.fastjson.JSONObject jsonObject)
Copyright © 2022. All rights reserved.