Package org.stellar.sdk.xdr
Class InvokeHostFunctionOp
java.lang.Object
org.stellar.sdk.xdr.InvokeHostFunctionOp
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
-
Constructor Summary
ConstructorDescriptionInvokeHostFunctionOp
(HostFunction hostFunction, SorobanAuthorizationEntry[] auth) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static InvokeHostFunctionOp
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static InvokeHostFunctionOp
fromXdrBase64
(String xdr) static InvokeHostFunctionOp
fromXdrByteArray
(byte[] xdr) getAuth()
int
hashCode()
void
setAuth
(SorobanAuthorizationEntry[] auth) void
setHostFunction
(HostFunction hostFunction) toString()
default String
default byte[]
-
Constructor Details
-
InvokeHostFunctionOp
public InvokeHostFunctionOp() -
InvokeHostFunctionOp
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getHostFunction
-
getAuth
-
setHostFunction
-
setAuth
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-