public abstract class OneShotShelveMethod extends AbstractMethodInvocationHandler
AbstractMethodInvocationHandler.InvocationContextMethodInvocationHandler.NodeIdUnknownHandler, MethodInvocationHandler.NotImplementedHandlerNODE_ID_UNKNOWN, NOT_IMPLEMENTED| Constructor and Description |
|---|
OneShotShelveMethod(UaMethodNode node) |
| Modifier and Type | Method and Description |
|---|---|
Argument[] |
getInputArguments()
Get the input
Arguments expected by the Method this handler is installed on. |
Argument[] |
getOutputArguments()
Get the output
Arguments expected by the Method this handler is installed on. |
protected abstract void |
invoke(AbstractMethodInvocationHandler.InvocationContext context) |
protected Variant[] |
invoke(AbstractMethodInvocationHandler.InvocationContext context,
Variant[] inputValues)
Invoke this method and return the values for its output arguments, if any.
|
checkExecutableAttributes, getNode, invoke, validateInputArgumentValuespublic OneShotShelveMethod(UaMethodNode node)
public Argument[] getInputArguments()
AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.getInputArguments in class AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.public Argument[] getOutputArguments()
AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.getOutputArguments in class AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.protected Variant[] invoke(AbstractMethodInvocationHandler.InvocationContext context, Variant[] inputValues) throws UaException
AbstractMethodInvocationHandlerThe Executable and UserExecutable attributes have already been checked to ensure this method is allowed to execute.
invoke in class AbstractMethodInvocationHandlercontext - the AbstractMethodInvocationHandler.InvocationContext.inputValues - the user-supplied values for the input arguments. Each value has been verified to be of
the type specified by its Argument.UaException - if invocation has failed for some reason.protected abstract void invoke(AbstractMethodInvocationHandler.InvocationContext context) throws UaException
UaExceptionCopyright © 2021. All rights reserved.