Package org.stellar.sdk.xdr
Class PersistedSCPStateV1
java.lang.Object
org.stellar.sdk.xdr.PersistedSCPStateV1
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PersistedSCPStateV1decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, PersistedSCPStateV1 encodedPersistedSCPStateV1) booleanstatic PersistedSCPStateV1fromXdrBase64(String xdr) static PersistedSCPStateV1fromXdrByteArray(byte[] xdr) inthashCode()voidsetQuorumSets(SCPQuorumSet[] value) voidsetScpEnvelopes(SCPEnvelope[] value) byte[]
-
Constructor Details
-
PersistedSCPStateV1
public PersistedSCPStateV1()
-
-
Method Details
-
getScpEnvelopes
-
setScpEnvelopes
-
getQuorumSets
-
setQuorumSets
-
encode
public static void encode(XdrDataOutputStream stream, PersistedSCPStateV1 encodedPersistedSCPStateV1) 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
-