public class EndPoint extends MychainObject
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
String |
getIp()
Getter method for property ip.
|
int |
getPort()
Getter method for property port.
|
int |
hashCode() |
void |
setIp(String ip)
Setter method for property ip.
|
void |
setPort(int port)
Setter method for property port.
|
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic EndPoint(String ip, int port)
public EndPoint()
public String getIp()
public void setIp(String ip)
ip - value to be assigned to property ippublic int getPort()
public void setPort(int port)
port - value to be assigned to property portpublic 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.