Package org.stellar.sdk.xdr
Class LedgerKey.LedgerKeyTrustLine
java.lang.Object
org.stellar.sdk.xdr.LedgerKey.LedgerKeyTrustLine
- Enclosing class:
LedgerKey
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LedgerKey.LedgerKeyTrustLinedecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, LedgerKey.LedgerKeyTrustLine encodedLedgerKeyTrustLine) booleanstatic LedgerKey.LedgerKeyTrustLinefromXdrBase64(String xdr) static LedgerKey.LedgerKeyTrustLinefromXdrByteArray(byte[] xdr) getAsset()inthashCode()voidsetAccountID(AccountID value) voidsetAsset(TrustLineAsset value) byte[]
-
Constructor Details
-
LedgerKeyTrustLine
public LedgerKeyTrustLine()
-
-
Method Details
-
getAccountID
-
setAccountID
-
getAsset
-
setAsset
-
encode
public static void encode(XdrDataOutputStream stream, LedgerKey.LedgerKeyTrustLine encodedLedgerKeyTrustLine) throws IOException - Throws:
IOException
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
hashCode
public int hashCode() -
equals
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-