Package org.stellar.sdk.xdr
Class LedgerHeaderHistoryEntry
java.lang.Object
org.stellar.sdk.xdr.LedgerHeaderHistoryEntry
- All Implemented Interfaces:
XdrElement
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
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
LedgerHeaderHistoryEntryExt's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionLedgerHeaderHistoryEntry
(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()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
LedgerHeaderHistoryEntry
public LedgerHeaderHistoryEntry() -
LedgerHeaderHistoryEntry
public LedgerHeaderHistoryEntry(Hash hash, LedgerHeader header, LedgerHeaderHistoryEntry.LedgerHeaderHistoryEntryExt ext)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- 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
-