public class SCPHistoryEntryV0 extends java.lang.Object implements XdrElement
struct SCPHistoryEntryV0
{
SCPQuorumSet quorumSets<>; // additional quorum sets used by ledgerMessages
LedgerSCPMessages ledgerMessages;
};
| Modifier and Type | Class and Description |
|---|---|
static class |
SCPHistoryEntryV0.SCPHistoryEntryV0Builder |
| Constructor and Description |
|---|
SCPHistoryEntryV0() |
SCPHistoryEntryV0(SCPQuorumSet[] quorumSets,
LedgerSCPMessages ledgerMessages) |
| Modifier and Type | Method and Description |
|---|---|
static SCPHistoryEntryV0.SCPHistoryEntryV0Builder |
builder() |
static SCPHistoryEntryV0 |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
boolean |
equals(java.lang.Object o) |
static SCPHistoryEntryV0 |
fromXdrBase64(java.lang.String xdr) |
static SCPHistoryEntryV0 |
fromXdrByteArray(byte[] xdr) |
LedgerSCPMessages |
getLedgerMessages() |
SCPQuorumSet[] |
getQuorumSets() |
int |
hashCode() |
void |
setLedgerMessages(LedgerSCPMessages ledgerMessages) |
void |
setQuorumSets(SCPQuorumSet[] quorumSets) |
SCPHistoryEntryV0.SCPHistoryEntryV0Builder |
toBuilder() |
java.lang.String |
toString() |
toXdrBase64, toXdrByteArraypublic SCPHistoryEntryV0()
public SCPHistoryEntryV0(SCPQuorumSet[] quorumSets, LedgerSCPMessages ledgerMessages)
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static SCPHistoryEntryV0 decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic static SCPHistoryEntryV0 fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static SCPHistoryEntryV0 fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOExceptionpublic static SCPHistoryEntryV0.SCPHistoryEntryV0Builder builder()
public SCPHistoryEntryV0.SCPHistoryEntryV0Builder toBuilder()
public SCPQuorumSet[] getQuorumSets()
public LedgerSCPMessages getLedgerMessages()
public void setQuorumSets(SCPQuorumSet[] quorumSets)
public void setLedgerMessages(LedgerSCPMessages ledgerMessages)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object