Package org.stellar.sdk.xdr
Class InvokeHostFunctionOp
java.lang.Object
org.stellar.sdk.xdr.InvokeHostFunctionOp
- All Implemented Interfaces:
XdrElement
InvokeHostFunctionOp's original definition in the XDR file is:
struct InvokeHostFunctionOp
{
// Host function to invoke.
HostFunction hostFunction;
// Per-address authorizations for this host function.
SorobanAuthorizationEntry auth<>;
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInvokeHostFunctionOp(HostFunction hostFunction, SorobanAuthorizationEntry[] auth) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static InvokeHostFunctionOpdecode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic InvokeHostFunctionOpfromXdrBase64(String xdr) static InvokeHostFunctionOpfromXdrByteArray(byte[] xdr) getAuth()inthashCode()voidsetAuth(SorobanAuthorizationEntry[] auth) voidsetHostFunction(HostFunction hostFunction) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
InvokeHostFunctionOp
public InvokeHostFunctionOp() -
InvokeHostFunctionOp
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getHostFunction
-
getAuth
-
setHostFunction
-
setAuth
-
equals
-
hashCode
public int hashCode() -
toString
-