Package org.stellar.sdk.xdr
Class SCAddress
java.lang.Object
org.stellar.sdk.xdr.SCAddress
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SCAddressdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) static voidencode(XdrDataOutputStream stream, SCAddress encodedSCAddress) booleanstatic SCAddressfromXdrBase64(String xdr) static SCAddressfromXdrByteArray(byte[] xdr) inthashCode()voidsetAccountId(AccountID value) voidsetContractId(Hash value) voidsetDiscriminant(SCAddressType value) byte[]
-
Constructor Details
-
SCAddress
public SCAddress()
-
-
Method Details
-
getDiscriminant
-
setDiscriminant
-
getAccountId
-
setAccountId
-
getContractId
-
setContractId
-
encode
public static void encode(XdrDataOutputStream stream, SCAddress encodedSCAddress) 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
-