Package org.stellar.sdk.xdr
Class SCPStatement.SCPStatementPledges.SCPStatementConfirm
java.lang.Object
org.stellar.sdk.xdr.SCPStatement.SCPStatementPledges.SCPStatementConfirm
- Enclosing class:
SCPStatement.SCPStatementPledges
SCPStatementConfirm's original definition in the XDR file is:
struct { SCPBallot ballot; // b uint32 nPrepared; // p.n uint32 nCommit; // c.n uint32 nH; // h.n Hash quorumSetHash; // D }
-
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) getNH()
int
hashCode()
void
void
setNCommit
(Uint32 nCommit) void
void
setNPrepared
(Uint32 nPrepared) void
setQuorumSetHash
(Hash quorumSetHash) toString()
default String
default byte[]
-
Constructor Details
-
SCPStatementConfirm
public SCPStatementConfirm() -
SCPStatementConfirm
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static SCPStatement.SCPStatementPledges.SCPStatementConfirm decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static SCPStatement.SCPStatementPledges.SCPStatementConfirm fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static SCPStatement.SCPStatementPledges.SCPStatementConfirm fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static SCPStatement.SCPStatementPledges.SCPStatementConfirm.SCPStatementConfirmBuilder builder() -
toBuilder
-
getBallot
-
getNPrepared
-
getNCommit
-
getNH
-
getQuorumSetHash
-
setBallot
-
setNPrepared
-
setNCommit
-
setNH
-
setQuorumSetHash
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-