Package org.stellar.sdk.xdr
Class SCPStatement.SCPStatementPledges.SCPStatementPrepare
java.lang.Object
org.stellar.sdk.xdr.SCPStatement.SCPStatementPledges.SCPStatementPrepare
- Enclosing class:
SCPStatement.SCPStatementPledges
SCPStatementPrepare's original definition in the XDR file is:
struct { Hash quorumSetHash; // D SCPBallot ballot; // b SCPBallot* prepared; // p SCPBallot* preparedPrime; // p' uint32 nC; // c.n uint32 nH; // h.n }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getNC()
getNH()
int
hashCode()
void
void
void
void
setPrepared
(SCPBallot prepared) void
setPreparedPrime
(SCPBallot preparedPrime) void
setQuorumSetHash
(Hash quorumSetHash) toString()
default String
default byte[]
-
Constructor Details
-
SCPStatementPrepare
public SCPStatementPrepare() -
SCPStatementPrepare
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static SCPStatement.SCPStatementPledges.SCPStatementPrepare decode(XdrDataInputStream stream) throws IOException - 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
-
builder
public static SCPStatement.SCPStatementPledges.SCPStatementPrepare.SCPStatementPrepareBuilder builder() -
toBuilder
-
getQuorumSetHash
-
getBallot
-
getPrepared
-
getPreparedPrime
-
getNC
-
getNH
-
setQuorumSetHash
-
setBallot
-
setPrepared
-
setPreparedPrime
-
setNC
-
setNH
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-