Class PeerEntry
- java.lang.Object
-
- com.syntifi.casper.sdk.model.peer.PeerEntry
-
public class PeerEntry extends java.lang.Object
The node ID and network address of each connected peer.- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PeerEntry.PeerEntryBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PeerEntry.PeerEntryBuilder
builder()
java.lang.String
getAddress()
IP:PORTjava.lang.String
getNodeId()
node IDvoid
setAddress(java.lang.String address)
IP:PORTvoid
setNodeId(java.lang.String nodeId)
node ID
-
-
-
Method Detail
-
builder
public static PeerEntry.PeerEntryBuilder builder()
-
getAddress
public java.lang.String getAddress()
IP:PORT
-
getNodeId
public java.lang.String getNodeId()
node ID
-
setAddress
public void setAddress(java.lang.String address)
IP:PORT
-
setNodeId
public void setNodeId(java.lang.String nodeId)
node ID
-
-