Package org.stellar.sdk.xdr
Class SCPHistoryEntryV0
java.lang.Object
org.stellar.sdk.xdr.SCPHistoryEntryV0
SCPHistoryEntryV0's original definition in the XDR file is:
struct SCPHistoryEntryV0
{
SCPQuorumSet quorumSets<>; // additional quorum sets used by ledgerMessages
LedgerSCPMessages ledgerMessages;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSCPHistoryEntryV0(SCPQuorumSet[] quorumSets, LedgerSCPMessages ledgerMessages) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static SCPHistoryEntryV0decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic SCPHistoryEntryV0fromXdrBase64(String xdr) static SCPHistoryEntryV0fromXdrByteArray(byte[] xdr) inthashCode()voidsetLedgerMessages(LedgerSCPMessages ledgerMessages) voidsetQuorumSets(SCPQuorumSet[] quorumSets) toString()default Stringdefault byte[]
-
Constructor Details
-
SCPHistoryEntryV0
public SCPHistoryEntryV0() -
SCPHistoryEntryV0
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getQuorumSets
-
getLedgerMessages
-
setQuorumSets
-
setLedgerMessages
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-