Package org.stellar.sdk.xdr
Class SCPStatement.SCPStatementPledges.SCPStatementPrepare
java.lang.Object
org.stellar.sdk.xdr.SCPStatement.SCPStatementPledges.SCPStatementPrepare
- Enclosing class:
SCPStatement.SCPStatementPledges
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, SCPStatement.SCPStatementPledges.SCPStatementPrepare encodedSCPStatementPrepare) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getNC()getNH()inthashCode()voidvoidvoidvoidsetPrepared(SCPBallot value) voidsetPreparedPrime(SCPBallot value) voidsetQuorumSetHash(Hash value) byte[]
-
Constructor Details
-
SCPStatementPrepare
public SCPStatementPrepare()
-
-
Method Details
-
getQuorumSetHash
-
setQuorumSetHash
-
getBallot
-
setBallot
-
getPrepared
-
setPrepared
-
getPreparedPrime
-
setPreparedPrime
-
getNC
-
setNC
-
getNH
-
setNH
-
encode
public static void encode(XdrDataOutputStream stream, SCPStatement.SCPStatementPledges.SCPStatementPrepare encodedSCPStatementPrepare) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
public static SCPStatement.SCPStatementPledges.SCPStatementPrepare decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
public static SCPStatement.SCPStatementPledges.SCPStatementPrepare fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static SCPStatement.SCPStatementPledges.SCPStatementPrepare fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-