Package org.stellar.sdk.xdr
Class TimeSlicedPeerData
java.lang.Object
org.stellar.sdk.xdr.TimeSlicedPeerData
TimeSlicedPeerData's original definition in the XDR file is:
struct TimeSlicedPeerData { PeerStats peerStats; uint32 averageLatencyMs; };
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TimeSlicedPeerData
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TimeSlicedPeerData
fromXdrBase64
(String xdr) static TimeSlicedPeerData
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setAverageLatencyMs
(Uint32 averageLatencyMs) void
setPeerStats
(PeerStats peerStats) toString()
default String
default byte[]
-
Constructor Details
-
TimeSlicedPeerData
public TimeSlicedPeerData() -
TimeSlicedPeerData
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getPeerStats
-
getAverageLatencyMs
-
setPeerStats
-
setAverageLatencyMs
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-