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
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanfromXdrBase64(String xdr) fromXdrByteArray(byte[] xdr) getNH()inthashCode()voidvoidsetNCommit(Uint32 nCommit) voidvoidsetNPrepared(Uint32 nPrepared) voidsetQuorumSetHash(Hash quorumSetHash) toString()default Stringdefault 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
-