Package org.stellar.sdk.xdr
Class PersistedSCPStateV0
java.lang.Object
org.stellar.sdk.xdr.PersistedSCPStateV0
- All Implemented Interfaces:
XdrElement
PersistedSCPStateV0's original definition in the XDR file is:
struct PersistedSCPStateV0 { SCPEnvelope scpEnvelopes<>; SCPQuorumSet quorumSets<>; StoredTransactionSet txSets<>; };
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPersistedSCPStateV0
(SCPEnvelope[] scpEnvelopes, SCPQuorumSet[] quorumSets, StoredTransactionSet[] txSets) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static PersistedSCPStateV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static PersistedSCPStateV0
fromXdrBase64
(String xdr) static PersistedSCPStateV0
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setQuorumSets
(SCPQuorumSet[] quorumSets) void
setScpEnvelopes
(SCPEnvelope[] scpEnvelopes) void
setTxSets
(StoredTransactionSet[] txSets) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
PersistedSCPStateV0
public PersistedSCPStateV0() -
PersistedSCPStateV0
public PersistedSCPStateV0(SCPEnvelope[] scpEnvelopes, SCPQuorumSet[] quorumSets, StoredTransactionSet[] txSets)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getScpEnvelopes
-
getQuorumSets
-
getTxSets
-
setScpEnvelopes
-
setQuorumSets
-
setTxSets
-
equals
-
hashCode
public int hashCode() -
toString
-