public class PeerPoolItem extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
Address |
address |
int |
index |
long |
initPos |
String |
peerPubkey |
int |
status |
long |
totalPos |
| Constructor and Description |
|---|
PeerPoolItem() |
PeerPoolItem(int index,
String peerPubkey,
Address address,
int status,
long initPos,
long totalPos) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface SerializableIOExceptionpublic void serialize(BinaryWriter writer) throws IOException
serialize in interface SerializableIOExceptionpublic Object Json()
Copyright © 2020. All rights reserved.