public static class SCPStatement.SCPStatementPledges.SCPStatementPrepare extends java.lang.Object implements XdrElement
struct { Hash quorumSetHash; // D SCPBallot ballot; // b SCPBallot* prepared; // p SCPBallot* preparedPrime; // p' uint32 nC; // c.n uint32 nH; // h.n }
Modifier and Type | Class and Description |
---|---|
static class |
SCPStatement.SCPStatementPledges.SCPStatementPrepare.SCPStatementPrepareBuilder |
Constructor and Description |
---|
SCPStatementPrepare() |
SCPStatementPrepare(Hash quorumSetHash,
SCPBallot ballot,
SCPBallot prepared,
SCPBallot preparedPrime,
Uint32 nC,
Uint32 nH) |
toXdrBase64, toXdrByteArray
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static SCPStatement.SCPStatementPledges.SCPStatementPrepare decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static SCPStatement.SCPStatementPledges.SCPStatementPrepare fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static SCPStatement.SCPStatementPledges.SCPStatementPrepare fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static SCPStatement.SCPStatementPledges.SCPStatementPrepare.SCPStatementPrepareBuilder builder()
public SCPStatement.SCPStatementPledges.SCPStatementPrepare.SCPStatementPrepareBuilder toBuilder()
public Hash getQuorumSetHash()
public SCPBallot getBallot()
public SCPBallot getPrepared()
public SCPBallot getPreparedPrime()
public Uint32 getNC()
public Uint32 getNH()
public void setQuorumSetHash(Hash quorumSetHash)
public void setBallot(SCPBallot ballot)
public void setPrepared(SCPBallot prepared)
public void setPreparedPrime(SCPBallot preparedPrime)
public void setNC(Uint32 nC)
public void setNH(Uint32 nH)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object