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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionTopologyResponseBodyV0(PeerStatList inboundPeers, PeerStatList outboundPeers, Uint32 totalInboundPeerCount, Uint32 totalOutboundPeerCount) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static TopologyResponseBodyV0decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic TopologyResponseBodyV0fromXdrBase64(String xdr) static TopologyResponseBodyV0fromXdrByteArray(byte[] xdr) inthashCode()voidsetInboundPeers(PeerStatList inboundPeers) voidsetOutboundPeers(PeerStatList outboundPeers) voidsetTotalInboundPeerCount(Uint32 totalInboundPeerCount) voidsetTotalOutboundPeerCount(Uint32 totalOutboundPeerCount) toString()default Stringdefault 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
-