public class PersistedSCPStateV0 extends java.lang.Object implements XdrElement
struct PersistedSCPStateV0 { SCPEnvelope scpEnvelopes<>; SCPQuorumSet quorumSets<>; StoredTransactionSet txSets<>; };
Modifier and Type | Class and Description |
---|---|
static class |
PersistedSCPStateV0.PersistedSCPStateV0Builder |
Constructor and Description |
---|
PersistedSCPStateV0() |
PersistedSCPStateV0(SCPEnvelope[] scpEnvelopes,
SCPQuorumSet[] quorumSets,
StoredTransactionSet[] txSets) |
Modifier and Type | Method and Description |
---|---|
static PersistedSCPStateV0.PersistedSCPStateV0Builder |
builder() |
static PersistedSCPStateV0 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static PersistedSCPStateV0 |
fromXdrBase64(java.lang.String xdr) |
static PersistedSCPStateV0 |
fromXdrByteArray(byte[] xdr) |
SCPQuorumSet[] |
getQuorumSets() |
SCPEnvelope[] |
getScpEnvelopes() |
StoredTransactionSet[] |
getTxSets() |
int |
hashCode() |
void |
setQuorumSets(SCPQuorumSet[] quorumSets) |
void |
setScpEnvelopes(SCPEnvelope[] scpEnvelopes) |
void |
setTxSets(StoredTransactionSet[] txSets) |
PersistedSCPStateV0.PersistedSCPStateV0Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArray
public PersistedSCPStateV0()
public PersistedSCPStateV0(SCPEnvelope[] scpEnvelopes, SCPQuorumSet[] quorumSets, StoredTransactionSet[] txSets)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static PersistedSCPStateV0 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public static PersistedSCPStateV0 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static PersistedSCPStateV0 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException
public static PersistedSCPStateV0.PersistedSCPStateV0Builder builder()
public PersistedSCPStateV0.PersistedSCPStateV0Builder toBuilder()
public SCPEnvelope[] getScpEnvelopes()
public SCPQuorumSet[] getQuorumSets()
public StoredTransactionSet[] getTxSets()
public void setScpEnvelopes(SCPEnvelope[] scpEnvelopes)
public void setQuorumSets(SCPQuorumSet[] quorumSets)
public void setTxSets(StoredTransactionSet[] txSets)
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