Package org.stellar.sdk.xdr
Class SCPHistoryEntryV0
java.lang.Object
org.stellar.sdk.xdr.SCPHistoryEntryV0
- All Implemented Interfaces:
XdrElement
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 SCPHistoryEntryV0
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static SCPHistoryEntryV0
fromXdrBase64
(String xdr) static SCPHistoryEntryV0
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setLedgerMessages
(LedgerSCPMessages ledgerMessages) void
setQuorumSets
(SCPQuorumSet[] quorumSets) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
SCPHistoryEntryV0
public SCPHistoryEntryV0() -
SCPHistoryEntryV0
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getQuorumSets
-
getLedgerMessages
-
setQuorumSets
-
setLedgerMessages
-
equals
-
hashCode
public int hashCode() -
toString
-