Package org.stellar.sdk.xdr
Class TTLEntry
java.lang.Object
org.stellar.sdk.xdr.TTLEntry
- All Implemented Interfaces:
XdrElement
TTLEntry's original definition in the XDR file is:
struct TTLEntry { // Hash of the LedgerKey that is associated with this TTLEntry Hash keyHash; uint32 liveUntilLedgerSeq; };
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TTLEntry.TTLEntryBuilder
builder()
static TTLEntry
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TTLEntry
fromXdrBase64
(String xdr) static TTLEntry
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setKeyHash
(Hash keyHash) void
setLiveUntilLedgerSeq
(Uint32 liveUntilLedgerSeq) toString()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TTLEntry
public TTLEntry() -
TTLEntry
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKeyHash
-
getLiveUntilLedgerSeq
-
setKeyHash
-
setLiveUntilLedgerSeq
-
equals
-
hashCode
public int hashCode() -
toString
-