Package org.stellar.sdk.xdr
Class SCPStatement.SCPStatementPledges.SCPStatementExternalize
java.lang.Object
org.stellar.sdk.xdr.SCPStatement.SCPStatementPledges.SCPStatementExternalize
- Enclosing class:
SCPStatement.SCPStatementPledges
SCPStatementExternalize's original definition in the XDR file is:
struct { SCPBallot commit; // c uint32 nH; // h.n Hash commitQuorumSetHash; // D used before EXTERNALIZE }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionSCPStatementExternalize
(SCPBallot commit, Uint32 nH, Hash commitQuorumSetHash) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getNH()
int
hashCode()
void
void
setCommitQuorumSetHash
(Hash commitQuorumSetHash) void
toString()
default String
default byte[]
-
Constructor Details
-
SCPStatementExternalize
public SCPStatementExternalize() -
SCPStatementExternalize
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static SCPStatement.SCPStatementPledges.SCPStatementExternalize decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static SCPStatement.SCPStatementPledges.SCPStatementExternalize fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static SCPStatement.SCPStatementPledges.SCPStatementExternalize fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
public static SCPStatement.SCPStatementPledges.SCPStatementExternalize.SCPStatementExternalizeBuilder builder() -
toBuilder
-
getCommit
-
getNH
-
getCommitQuorumSetHash
-
setCommit
-
setNH
-
setCommitQuorumSetHash
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-