public class Peer
extends java.lang.Object
Constructor and Description |
---|
Peer() |
Peer(HGPeerIdentity peerId) |
Modifier and Type | Method and Description |
---|---|
Timestamp |
getLastConfirmedTimestamp() |
Timestamp |
getLastFrom() |
HGPeerIdentity |
getPeerId() |
Timestamp |
getTimestamp() |
void |
setLastConfirmedTimestamp(Timestamp lastConfirmedTimestamp) |
void |
setLastFrom(Timestamp lastFrom) |
void |
setPeerId(HGPeerIdentity peerId) |
void |
setTimestamp(Timestamp timestamp) |
java.lang.String |
toString() |
public Peer()
public Peer(HGPeerIdentity peerId)
public HGPeerIdentity getPeerId()
public void setPeerId(HGPeerIdentity peerId)
public Timestamp getTimestamp()
public void setTimestamp(Timestamp timestamp)
public Timestamp getLastConfirmedTimestamp()
public void setLastConfirmedTimestamp(Timestamp lastConfirmedTimestamp)
public Timestamp getLastFrom()
public void setLastFrom(Timestamp lastFrom)
public java.lang.String toString()
toString
in class java.lang.Object