Package org.stellar.sdk.xdr
Class TopologyResponseBodyV0
java.lang.Object
org.stellar.sdk.xdr.TopologyResponseBodyV0
TopologyResponseBodyV0's original definition in the XDR file is:
struct TopologyResponseBodyV0 { PeerStatList inboundPeers; PeerStatList outboundPeers; uint32 totalInboundPeerCount; uint32 totalOutboundPeerCount; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionTopologyResponseBodyV0
(PeerStatList inboundPeers, PeerStatList outboundPeers, Uint32 totalInboundPeerCount, Uint32 totalOutboundPeerCount) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TopologyResponseBodyV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TopologyResponseBodyV0
fromXdrBase64
(String xdr) static TopologyResponseBodyV0
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setInboundPeers
(PeerStatList inboundPeers) void
setOutboundPeers
(PeerStatList outboundPeers) void
setTotalInboundPeerCount
(Uint32 totalInboundPeerCount) void
setTotalOutboundPeerCount
(Uint32 totalOutboundPeerCount) toString()
default String
default byte[]
-
Constructor Details
-
TopologyResponseBodyV0
public TopologyResponseBodyV0() -
TopologyResponseBodyV0
public TopologyResponseBodyV0(PeerStatList inboundPeers, PeerStatList outboundPeers, Uint32 totalInboundPeerCount, Uint32 totalOutboundPeerCount)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getInboundPeers
-
getOutboundPeers
-
getTotalInboundPeerCount
-
getTotalOutboundPeerCount
-
setInboundPeers
-
setOutboundPeers
-
setTotalInboundPeerCount
-
setTotalOutboundPeerCount
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-