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