Package org.stellar.sdk.xdr
Class TopologyResponseBodyV1
java.lang.Object
org.stellar.sdk.xdr.TopologyResponseBodyV1
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TopologyResponseBodyV1decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, TopologyResponseBodyV1 encodedTopologyResponseBodyV1) booleanstatic TopologyResponseBodyV1fromXdrBase64(String xdr) static TopologyResponseBodyV1fromXdrByteArray(byte[] xdr) inthashCode()voidsetInboundPeers(PeerStatList value) voidsetMaxInboundPeerCount(Uint32 value) voidsetMaxOutboundPeerCount(Uint32 value) voidsetOutboundPeers(PeerStatList value) voidsetTotalInboundPeerCount(Uint32 value) voidsetTotalOutboundPeerCount(Uint32 value) byte[]
-
Constructor Details
-
TopologyResponseBodyV1
public TopologyResponseBodyV1()
-
-
Method Details
-
getInboundPeers
-
setInboundPeers
-
getOutboundPeers
-
setOutboundPeers
-
getTotalInboundPeerCount
-
setTotalInboundPeerCount
-
getTotalOutboundPeerCount
-
setTotalOutboundPeerCount
-
getMaxInboundPeerCount
-
setMaxInboundPeerCount
-
getMaxOutboundPeerCount
-
setMaxOutboundPeerCount
-
encode
public static void encode(XdrDataOutputStream stream, TopologyResponseBodyV1 encodedTopologyResponseBodyV1) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-