Package org.stellar.sdk.xdr
Class TTLEntry
java.lang.Object
org.stellar.sdk.xdr.TTLEntry
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
-
Constructor Summary
-
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()
default String
default byte[]
-
Constructor Details
-
TTLEntry
public TTLEntry() -
TTLEntry
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKeyHash
-
getLiveUntilLedgerSeq
-
setKeyHash
-
setLiveUntilLedgerSeq
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-