Package org.stellar.sdk.xdr
Class TopologyResponseBodyV2
java.lang.Object
org.stellar.sdk.xdr.TopologyResponseBodyV2
TopologyResponseBodyV2's original definition in the XDR file is:
struct TopologyResponseBodyV2 { TimeSlicedPeerDataList inboundPeers; TimeSlicedPeerDataList outboundPeers; TimeSlicedNodeData nodeData; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionTopologyResponseBodyV2
(TimeSlicedPeerDataList inboundPeers, TimeSlicedPeerDataList outboundPeers, TimeSlicedNodeData nodeData) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TopologyResponseBodyV2
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TopologyResponseBodyV2
fromXdrBase64
(String xdr) static TopologyResponseBodyV2
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setInboundPeers
(TimeSlicedPeerDataList inboundPeers) void
setNodeData
(TimeSlicedNodeData nodeData) void
setOutboundPeers
(TimeSlicedPeerDataList outboundPeers) toString()
default String
default byte[]
-
Constructor Details
-
TopologyResponseBodyV2
public TopologyResponseBodyV2() -
TopologyResponseBodyV2
public TopologyResponseBodyV2(TimeSlicedPeerDataList inboundPeers, TimeSlicedPeerDataList outboundPeers, TimeSlicedNodeData nodeData)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getInboundPeers
-
getOutboundPeers
-
getNodeData
-
setInboundPeers
-
setOutboundPeers
-
setNodeData
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-