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.TTLEntryBuilderbuilder()static TTLEntrydecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic TTLEntryfromXdrBase64(String xdr) static TTLEntryfromXdrByteArray(byte[] xdr) inthashCode()voidsetKeyHash(Hash keyHash) voidsetLiveUntilLedgerSeq(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:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKeyHash
-
getLiveUntilLedgerSeq
-
setKeyHash
-
setLiveUntilLedgerSeq
-
equals
-
hashCode
public int hashCode() -
toString
-