Package org.stellar.sdk.xdr
Class PersistedSCPStateV0
java.lang.Object
org.stellar.sdk.xdr.PersistedSCPStateV0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PersistedSCPStateV0decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, PersistedSCPStateV0 encodedPersistedSCPStateV0) booleanstatic PersistedSCPStateV0fromXdrBase64(String xdr) static PersistedSCPStateV0fromXdrByteArray(byte[] xdr) inthashCode()voidsetQuorumSets(SCPQuorumSet[] value) voidsetScpEnvelopes(SCPEnvelope[] value) voidsetTxSets(StoredTransactionSet[] value) byte[]
-
Constructor Details
-
PersistedSCPStateV0
public PersistedSCPStateV0()
-
-
Method Details
-
getScpEnvelopes
-
setScpEnvelopes
-
getQuorumSets
-
setQuorumSets
-
getTxSets
-
setTxSets
-
encode
public static void encode(XdrDataOutputStream stream, PersistedSCPStateV0 encodedPersistedSCPStateV0) 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
-