Package org.stellar.sdk.xdr
Class LedgerHeaderHistoryEntry
java.lang.Object
org.stellar.sdk.xdr.LedgerHeaderHistoryEntry
LedgerHeaderHistoryEntry's original definition in the XDR file is:
struct LedgerHeaderHistoryEntry { Hash hash; LedgerHeader header; // reserved for future use union switch (int v) { case 0: void; } ext; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
LedgerHeaderHistoryEntryExt's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionLedgerHeaderHistoryEntry
(Hash hash, LedgerHeader header, LedgerHeaderHistoryEntry.LedgerHeaderHistoryEntryExt ext) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static LedgerHeaderHistoryEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static LedgerHeaderHistoryEntry
fromXdrBase64
(String xdr) static LedgerHeaderHistoryEntry
fromXdrByteArray
(byte[] xdr) getExt()
getHash()
int
hashCode()
void
void
void
setHeader
(LedgerHeader header) toString()
default String
default byte[]
-
Constructor Details
-
LedgerHeaderHistoryEntry
public LedgerHeaderHistoryEntry() -
LedgerHeaderHistoryEntry
public LedgerHeaderHistoryEntry(Hash hash, LedgerHeader header, LedgerHeaderHistoryEntry.LedgerHeaderHistoryEntryExt ext)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getHash
-
getHeader
-
getExt
-
setHash
-
setHeader
-
setExt
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-