Package org.stellar.sdk.xdr
Class LedgerKey.LedgerKeyTtl
java.lang.Object
org.stellar.sdk.xdr.LedgerKey.LedgerKeyTtl
- 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.LedgerKeyTtldecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic LedgerKey.LedgerKeyTtlfromXdrBase64(String xdr) static LedgerKey.LedgerKeyTtlfromXdrByteArray(byte[] xdr) inthashCode()voidsetKeyHash(Hash keyHash) toString()default Stringdefault byte[]
-
Constructor Details
-
LedgerKeyTtl
public LedgerKeyTtl() -
LedgerKeyTtl
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getKeyHash
-
setKeyHash
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-