public class PeerPoolItem extends Object implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
Address |
address |
int |
index |
long |
initPos |
String |
peerPubkey |
int |
status |
long |
totalPos |
| 构造器和说明 |
|---|
PeerPoolItem() |
PeerPoolItem(int index,
String peerPubkey,
Address address,
int status,
long initPos,
long totalPos) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deserialize(BinaryReader reader) |
Object |
Json() |
void |
serialize(BinaryWriter writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfrom, toArray, toHexStringpublic int index
public String peerPubkey
public Address address
public int status
public long initPos
public long totalPos
public void deserialize(BinaryReader reader) throws IOException
deserialize 在接口中 SerializableIOExceptionpublic void serialize(BinaryWriter writer) throws IOException
serialize 在接口中 SerializableIOExceptionpublic Object Json()
Copyright © 2021. All rights reserved.