public abstract class SetPositionMethod extends AbstractMethodInvocationHandler
AbstractMethodInvocationHandler.InvocationContext
MethodInvocationHandler.NodeIdUnknownHandler, MethodInvocationHandler.NotImplementedHandler
Modifier and Type | Field and Description |
---|---|
static Argument |
FILE_HANDLE |
static Argument |
POSITION |
NODE_ID_UNKNOWN, NOT_IMPLEMENTED
Constructor and Description |
---|
SetPositionMethod(UaMethodNode node) |
Modifier and Type | Method and Description |
---|---|
Argument[] |
getInputArguments()
Get the input
Argument s expected by the Method this handler is installed on. |
Argument[] |
getOutputArguments()
Get the output
Argument s expected by the Method this handler is installed on. |
protected abstract void |
invoke(AbstractMethodInvocationHandler.InvocationContext context,
UInteger fileHandle,
ULong position) |
protected Variant[] |
invoke(AbstractMethodInvocationHandler.InvocationContext context,
Variant[] inputValues)
Invoke this method and return the values for its output arguments, if any.
|
checkExecutableAttributes, getNode, invoke
public static final Argument FILE_HANDLE
public static final Argument POSITION
public SetPositionMethod(UaMethodNode node)
public Argument[] getInputArguments()
AbstractMethodInvocationHandler
Argument
s expected by the Method this handler is installed on.getInputArguments
in class AbstractMethodInvocationHandler
Argument
s expected by the Method this handler is installed on.public Argument[] getOutputArguments()
AbstractMethodInvocationHandler
Argument
s expected by the Method this handler is installed on.getOutputArguments
in class AbstractMethodInvocationHandler
Argument
s expected by the Method this handler is installed on.protected Variant[] invoke(AbstractMethodInvocationHandler.InvocationContext context, Variant[] inputValues) throws UaException
AbstractMethodInvocationHandler
The Executable and UserExecutable attributes have already been checked to ensure this method is allowed to execute.
invoke
in class AbstractMethodInvocationHandler
context
- 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, UInteger fileHandle, ULong position) throws UaException
UaException
Copyright © 2019. All rights reserved.