Package org.stellar.sdk.xdr
Class PersistedSCPState
java.lang.Object
org.stellar.sdk.xdr.PersistedSCPState
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PersistedSCPStatedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, PersistedSCPState encodedPersistedSCPState) booleanstatic PersistedSCPStatefromXdrBase64(String xdr) static PersistedSCPStatefromXdrByteArray(byte[] xdr) getV0()getV1()inthashCode()voidsetDiscriminant(Integer value) voidsetV0(PersistedSCPStateV0 value) voidsetV1(PersistedSCPStateV1 value) byte[]
-
Constructor Details
-
PersistedSCPState
public PersistedSCPState()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getV0
-
setV0
-
getV1
-
setV1
-
encode
public static void encode(XdrDataOutputStream stream, PersistedSCPState encodedPersistedSCPState) 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
-